I have a model with a field called date_format. That field is an
integer value from 1 to 9 corresponding to "D m-j-y", "m-d-Y", etc. I
have the model defined with a 'choices' set so the database can store
the number, and a dropdown is created with the choices instead of just
a textbox field. The problem is that I don't just want "D j-m-Y"
listed in the dropdown box, I want it to be something more user-
friendly, like "Day DD/MM/YYYY". Is it possible to change the way
django makes the dropdown when I invoke {{ form.date_format }} in the
template, or will I have to just create my own dropdown in the
template? There are three other dropdown boxes in my project that I
want to modify in a similar manner as well.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---