On Sun, 2009-01-18 at 22:32 +1100, Malcolm Tredinnick wrote: [...] > Have a look at unique_together: > http://docs.djangoproject.com/en/dev/ref/models/options/#unique-together > > Right now, that is only enforced by the admin interface,
I should have extended this to also say "and ModelForms", since if you create a ModelForm from a Model, unique and unique_together are respected. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

