Relative Content

Tag Archive for pythondjangodatabaseformssqlite

What should I do if data is not saved in Django?

I’m new to Django. And I’m faced with the problem of saving data from the form to the database. I was writing code in PyCharm. The main problem is that the data is not saved in the database. There are no errors, no warnings, NOTHING. Everything works except saving. I will be very grateful for your help!
Here is the code:
views.py: