python ForeignKey relation with user shows this error NOT NULL constraint failed: music_song.performer_id
问题 Fellow programmers, I am getting a error NOT NULL constraint failed: music_song.performer_id I want the performer field to be the user who is creating the song but its not happening I have tried a lot can you guys please help me out with it models.py class Song(models.Model): name = models.CharField(_("Name"), max_length=50) song = models.FileField(_("Song"), upload_to=None, max_length=100) song_image = models.ImageField(upload_to=None, height_field=None, width_field=None,max_length=100)