Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pages.User Settings.user: (fields.W342) Setting unique=True on a Foreign Key

remove primary_key=True from your foreignkey field
 
PREVIOUS NEXT
Tagged: #Setting #Foreign #Key
ADD COMMENT
Topic
Name
2+2 =