hi, when I was trying to use the Meta option 'unique_together' in my
Membership model below, a NameError happened, I don't know what the
problem is, I am using django 1.0 and sqlite3
regards,
Matrixer
-------------------------------------------------------
class Membership(models.Model):
person = models.ForeignKey('Person')
group = models.ForeignKey('Group')
class Meta:
unique_together('person', 'group')
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---