On 06/26/2015 08:13 AM, dragon wrote:
On 06/25/2015 09:49 PM, Vijay Khemlani wrote:
Are you using a ModelChoiceField?
https://docs.djangoproject.com/en/1.8/ref/forms/fields/#modelchoicefield
Or a normal ChoiceField setting the choices manually?
I am using normal Chice field and yes i'm setting up manually when I
call the form.
I found the answer. I fill up my choicefield at field init. It must fill
at form init.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/558D1F47.8010700%40gmail.com.
For more options, visit https://groups.google.com/d/optout.