I'm using vers .96
I converted a char field to have choices

old: prefix = models.CharField(maxlength=100, default = 'Mr.')

I then changed my model:
SALUTATION=(
  ('Mr.','Mr.'),
  ('Ms.','Ms.'),
)
...
prefix = models.CharField(maxlength=100, choices=SALUTATION, default='Mr.')

I then ran manage.py syncdb - result was okay.

now when I run a form_for_instance it correctly puts in all the field 
information but the NewForm prefix field shows simply as a input field 
not as a select box. 

Should this work ?  Am I doing something wrong or is this a bug ?  Or 
should I be running SVN ? 


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