Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bulk upload with dictionary or list in django moels

values = [{headline="abc"}, {headline="def"}, {headline="ghi"}]
aList = [Entry(**vals) for vals in values]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bulk #upload #dictionary #list #django #moels
ADD COMMENT
Topic
Name
2+5 =