I forgot to say:

(1) I deleted the database completely and created it again.
(2) I ran manage.py syncdb

However, with this code

 def clean_date_of_birth(self):
         date_of_birth = self.cleaned_data.get('date_of_birth')
         if date_of_birth:
             if date_of_birth.year < 1890:
                 raise forms.ValidationError(u"It is very
improbable...")
         return date_of_birth

I still get the database problem.

Jaroslav

-- 
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.

Reply via email to