Hello,
I already have about 100 records in my db table.  I'm currently going
to add a date field to my model.

///
mydate = models.DateField(blank=True, null=True)
///

I have a save method for my class where i check to see if my 'mydate'
field has a value.

///
if self.mydate == None:
            assert False, "Here"
///

My question is it good to have None as the value of my empty 'mydate'
field?  If empty shouldn't the field contain "" instead of None?

Thanks
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to