Hi, I try to create tables using Django models in our test oracle database. I define a model with one column like this: name = models.CharField(max_length=512, null=False, blank=False). After running python manage.py syncdb, I found that column 'name' in the generated table still allows null value in the column definition. I understand that null = false is the default option. And I verified that for other types of Django fields, null = false or no such option at all would generate columns that do not allow null values in the database. Is there particular reason why null = false is not enforced for charField? My Django version is 1.1.1, Python version is 2.6, and oracle server is 10g release 2.
Many thanks for your help. Wayne -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.