Model definition validation review

2010-11-14 Thread nasp
Hi, while working on a project requiring the definition of a custom model field I realized there was no way to provide definition validation nor override subclass validation. For example, there's no way of subclassing a field and overriding the way a certain parameter (lets say max_length or choice

Re: django.contrib.admin and null=True

2010-12-07 Thread nasp
You might consider reading http://docs.djangoproject.com/en/dev/ref/models/fields/#null. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group

Re: Problem with ``Model.objects.create``

2011-01-02 Thread nasp
This is a user error, validation checks are performed on model.clean() . This mailing list is for development purpose, please use django-usersmailing list or #django irc . --