Hi! I'd like to create custom validation of my admin model. Actually in should act like unique_together in model but it shouldn't allow duplicate entries with NULL values in some fields.
I've already done all necessary checks with exception generation in save() method of the model. The only thing I need is to get form validation working. I have no idea how to do it in clean() method. Is it possible to handle the exception in save method and show the form with validation errors? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---