I've got a model in django 1.4: class Image(Model): serial = AutoField(primary_key=True) version = IntegerField(default=1)
I want (serial, version) to be unique. Is there a way to express that in the model layer? --- Roy Smith r...@panix.com -- 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.