get db in django code example
Example 1: objects.filter django
>>> Entry.objects.filter(blog_id=4)
Example 2: .save() in django
>>> one_entry = Entry.objects.get(pk=1)
>>> Entry.objects.filter(blog_id=4)
>>> one_entry = Entry.objects.get(pk=1)