You are exactly right. Thanks, this was a learning curve I was having trouble getting over. You have been an immense help and are a credit to this online community.
On Feb 1, 3:42 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Feb 1, 4:30 am, Nick <nickt...@gmail.com> 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 django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.