Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django model choice field from another model

your_choice=models.ForeignKey(ChoiceList,on_delete=models.CASCADE)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #model #choice #field #model
ADD COMMENT
Topic
Name
4+9 =