1
No, you’re not doing a “normal entry in the database”. You are calling the save
method directly from the class, which is not how you create and save an instance. You presumably meant to use Diary.objects.create(...)
instead.
However none of this has anything to do with saving the form, which you would do by just calling form.save()
.
Source:stackexchange.com