insert data into django model code example
Example: insert data in django models
from books.models import Publisher
p = Publisher(name='Apress', city='Berkeley')
p.save()
from books.models import Publisher
p = Publisher(name='Apress', city='Berkeley')
p.save()