DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
django create model from dictionary
# create instance of model m = MyModel(**data_dict) # don't forget to save to database! m.save()
PREVIOUS
NEXT
Tagged:
#django
#create
#model
#dictionary
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit