Django templates and variable attributes

后端 未结 6 554
忘掉有多难
忘掉有多难 2020-12-02 13:43

I\'m using Google App Engine and Django templates.
I have a table that I want to display the objects look something like:

Object Result:
    Items =          


        
6条回答
  •  悲哀的现实
    2020-12-02 14:00

    shouldn't this:

    {{ user.item }}
    

    be this?

    {{ item }}
    

    there is no user object in the context within that loop....?

提交回复
热议问题