DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit