Lachlan Musicman
unread,Aug 30, 2012, 9:09:07 PM8/30/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
I was just wondering if there was any noticeable difference between
the models.ChoiceField() and the models.CharField(max_length=x,)?
In the documentation I have (offline, Django v1.4) a reference to:
/path/django-docs-1.4-en/ref/forms/fields.html#django.forms.ChoiceField.choices
But in the example given at
/path/django-docs-1.4-en/ref/models/fields.html#field-choices they use
the CharField() method.
Is there a discernible difference or is it just for clarity?
cheers
L.