Thanks a lot, James.

On Apr 1, 12:22 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 3/31/07, mediumgrade <[EMAIL PROTECTED]> wrote:
>
> > I have a model with charfield's with choices attached to them. In my
> > templates, however, I would like to be able to display the values from
> > the dictionary list in my models, not just the value stored in the
> > database.
>
> This is covered in the database API documentation:
>
> http://www.djangoproject.com/documentation/db-api/#get-foo-display
>
> (and a link to that is provided in the model documentation for the
> "choices" argument)
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to