When you created
models.py, you said that there would be images associated with each project and you put them in the database with the filepath
# Create your models here. class Project(models.Model): title = models.CharField(max_length=100) description = models.TextField() technology = models.CharField(max_length=20) image = models.FilePathField(path='/img/')
Just like you saw with the
templates folder, Django is aware of all the
static folders inside each project and collects all of them and puts them all in one folder, so don’t forget to use double folder structure.