how to check database in views.py django 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()