I'm using/learning the newforms... I got a model, in this model I have a
choices list ( ('1', 'foo'), ('2', 'bar' ) that are reprensented as
select box in the admin...
However when I import this class to the newforms
"forms.form_for_model(Gadget)" the choices arn't coming along and the
field is reprented as a normal textfield... How come?
Second question: how can you add a password field from the newforms. you
can't define ("correct me if I'm wrong") a password field in the
model... And I don't see any option to give a field a password field.
How can I do this?
Thanxs
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---