On 11/23/07, Bit Blazer <[EMAIL PROTECTED]> wrote:
> When I am trying to test this model from shell, it's just saving the
> data without any error messages when it is invalid. I don't know whats
> wrong in the code above. Any suggestions how can I fix this?

Validation is not (at the moment) performed by models themselves, so
creating a model instance and saving it directly does not use any
validation. You will need to use a form if you want to test the
validation.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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