Sep-09-2020, 05:30 PM
(Sep-08-2020, 05:43 AM)card51shor Wrote: I tried .values object.values i tried brackets and paraenthesis.
I can't find it anywhere online.
(Sep-08-2020, 07:13 AM)card51shor Wrote: i cant' find it in that link either.
I really don't know why this is so complicated for you. On the page I linked to, as I mentioned, there's a page on the template system ("Use the template system"). On it, it does give an example of using the dot operator to access attribute values, which is also what nilamo shows in their first snippet. I don't know where you'd get
.values
from, since your model class has no attribute called values
.