On Fri, 2009-03-13 at 16:51 -0700, Sergio wrote: > Hello, > > reading from this page: > http://docs.djangoproject.com/en/dev/ref/models/fields/#null > > I understand that, at validation time, I could use (variable is not > None) to verify whether the user did enter characters or not. > > Considering the note, it seems that, in case of oracle DB, I should > use (variable != ""). > > Am I right?
Character fields in Django can never be NULL. They will either be empty (and stored as '') or not empty, but never stored as NULL in the database. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---