On Feb 1, 4:30 am, Nick <[email protected]> wrote:
> I'm definitely going to continue looking into this. But if you have
> any advice on how I can store the rest of the fields from the DB to
> call up on the individual reps pages I would greatly appreciate it.
> Right now I am only pulling in the last name and first name and need
> to return all of the object in the Rep table.
>
> Thanks again.
>
> Nick
Not entirely sure what you're asking. You're sending the full Rep
object to the template, so you can access any of its fields from
there:
{{ singleRep.First_Name }}
{{ singleRep.Position }}
{{ singleRep.Party }} (or you might want to use
{{ singleRep.get_party_choices }} here)
etc.
--
DR.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.