Debugging: Part 2
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
Comments & Discussion
Become a Member to join the conversation.