In the previous lesson, you saw that FilePathField()
might not be the best choice for your model, so you’re going to change it:
image = models.CharField(max_length=100)
When you check your page again, you’ll see that nothing changed. This is because you just made some changes to models.py
but didn’t modify the database. In order for the changes to be made in the database, you need to makemigrations
and migrate
.
reblark on Nov. 6, 2019
so, “.0003_auto_20190601” means that you did this on June 1 of this year.