Answer the question
In order to leave comments, you need to log in
How to update the database after changing the model?
Good day!
Tell me how to update, or rather add a column to the table, after changing the model?
For example it was
class Post(models.Model):
title = models.CharField(max_length=100)
class Post(models.Model):
title = models.CharField(max_length=100)
text = models.TextField()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question