If I make changes to a model, how do I update the database?

Take a look at Django’s support for schema migrations. If you don’t mind clearing data, your project’s manage.py utility has a flush option to reset the database to the state it was in immediately after migrate was executed.

heart
0
3 connected dots
0

Used in

In this article I will show how I implemented commenting on my website. Commenting, which is available to both anonymous and registered users.
Let me make a reservation right away that the authentication system that you and I will write is not based on the built-in Django application, django.contrib.auth. This will be a separate application with a separate model for it.
I will be busy developing a new project. His name is SearchResultParser. Its essence is to parse data from the search results of various search engines, such as google, youtube, yandex and others.