Thursday, January 10, 2013

RE: how can i toggle django boolean field automatically

Hi Emma,
Your question is kinda vague cos you didn't mention under what
situation you want the field to be updated automatically. That said, I
have a feeling you are interested in signals. Check the documentation
for django's inbuilt signals feature. You can make your app listen for
a signal and make it run a particular function (or update a model's
field) immediately the signal has been received.

Sent from my Windows Phone

-----Original Message-----
From: Okorie Emmanuel
Sent: 1/10/2013 9:43 AM
To: Django users
Subject: how can i toggle django boolean field automatically

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