Thursday, January 10, 2013

Re: how can i toggle django boolean field automatically

Model has ability to set default value to the field.
https://docs.djangoproject.com/en/dev/ref/models/fields/#editable
If you would like to set values on runtime please set those value in
to form constructor.

Many thanks,

Serge


+380 636150445
skype: skhohlov


2013/1/10 Okorie Emmanuel <nickson1277@gmail.com>:
> hi am doing an app in which i intend to toggle the boolean field
> automatically based on certain requirements. Pls how i achieve this
>
> --
> 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 django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate