insert data in django models 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()