django get model instance by id code example Example: create django object Author.objects.create(name="Joe")