Hi all, Let's say I have a model like so:
class Thing(models.Model): is_master = models.BooleanField() name = models.CharField() Now I want to be sure that only one Thing is_master at any given time. The rest of the Things must not be master and end users shouldn't be able to make a sencond Thing master by mistake through the admin site. As far as I can tell, I have to override my model's save() method, but I'm not sure how well that will play with the automatic admin site... Regards, Guillermo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---