./manage.py makemigrations./manage.py migratepython manage.py inspectdbpython manage.py inspectdb > models.py
Model.objects.all() # Return all objects
post = Post.objects.get(slug__iexact="New-Slug") # Case insensetive
post = Post.objects.get(slug__contains="New") $ (vevn) python
$ import Post
$ pl = Post.objects.create(title="new post", slug="new_post", body="body text")