Add path for static files
This commit is contained in:
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user