I first shifted the form to a separate file as suggested earlier, then when I started using the NoteSerializer I no longer had the need to use the form. So this should be removed, I will do that.