Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

insert data in django models

from books.models import Publisher

p = Publisher(name='Apress', city='Berkeley')

p.save()
 
PREVIOUS NEXT
Tagged: #insert #data #django #models
ADD COMMENT
Topic
Name
1+4 =