[Answer]-Value is not recorded in the database

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().

Leave a comment