Add path for static files

This commit is contained in:
David Doblas Jiménez 2022-01-04 15:00:57 +01:00
parent 33e90a1969
commit e6b3b0f715
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -5,4 +5,4 @@ class Project(models.Model):
title = models.CharField(max_length=100)
description = models.TextField()
technology = models.CharField(max_length=20)
image = models.FilePathField(path="/img")
image = models.FilePathField(path="/projects/img")