On Fri, 2008-07-04 at 18:28 -0700, Leaf wrote:
> I'm working on an app called Dj Styles. It generates stylesheets
> dynamically. Anyway, I'm laying out the Style model, and I need to
> know: If you're using the "choices" parameter on a CharField, then
> which do you put for the "default" parameter - the value that gets
> recorded to the database or the verbose, user-friendly name? Or will
> either suffice?

The value that is sent to the database. More correctly, this is the
value that is stored in the model's attribute (it might be munged in
some way during transmission to and from the database).

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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