Add path for static files

This commit is contained in:
daviddoji committed 2022-01-04 15:00:57 +01:00
1 parent 33e90a1969
commit e6b3b0f715
2 files changed
+1 -1

No files matched your search

+1 -1
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")