Once you have defined your models, you need to tell Django you’re going to use those models by editing your settings file and changing the INSTALLED_APPS setting to add the name of the module that contains your models.py.
Creating objects
>>> from blog.models import Blog
>>> b = Blog(name='Beatles Blog', tagline='All the latest Beatles news.')
>>> b.save()