Relative Content

Tag Archive for pythonhtmlcssdjango

ValueError on autofield on my Django Project

I’m trying to make a music streaming website using Django. I have this error when i use the terminal command migrate: ValueError: Field ‘song_id’ expected a number but got ”. I don’t understand where “song_id” take a value that is not a number.
How can i fix it? this is my views.py: