I have a datetime field in my model. Initially when an object is created of 
this model the datetime field is set as NULL (I've defined Null=True and 
blank=True)

Now I want to change make a query which filters all the objects having Null 
in this field.. and changing their datetime to current datetime. The latter 
part I can manage (using python code), but Is it possible to make such 
queries such as modelName.objects.field(date = "") ??

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/aa74e02d-0b67-4661-9ff9-113217bc7d11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to