my model is not making object django code example
Example 1: django objects.create()
SomeModel.objects.create(firstname='ricky', lastname='ticky')
Example 2: .save() in django
>>> one_entry = Entry.objects.get(pk=1)
SomeModel.objects.create(firstname='ricky', lastname='ticky')
>>> one_entry = Entry.objects.get(pk=1)