Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django unique together

# models.py in the model class add:
class Meta:
	unique_together = ('date', 'size')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #unique
ADD COMMENT
Topic
Name
2+5 =