Python Forum
Working on an Auction Site - had questions
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working on an Auction Site - had questions
#22
(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.
Reply


Messages In This Thread
RE: Working on an Auction Site - had questions - by ndc85430 - Sep-09-2020, 05:30 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020