aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blog/models.py2
-rw-r--r--ignis/models.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/blog/models.py b/blog/models.py
index 74d1b521..c9f03399 100644
--- a/blog/models.py
+++ b/blog/models.py
@@ -1,7 +1,7 @@
from django.db import models
from django.conf import settings
from django.utils.text import slugify
-UPLOAD_ROOT = 'images/' if settings.DEBUG else f'../database/images/'
+UPLOAD_ROOT = 'images/'
# Create your models here.
class Category(models.Model):
diff --git a/ignis/models.py b/ignis/models.py
index 233ad420..e1f96669 100644
--- a/ignis/models.py
+++ b/ignis/models.py
@@ -2,7 +2,7 @@ from django.db import models
from blog.models import Post
from django.conf import settings
-UPLOAD_ROOT = 'images/' if settings.DEBUG else f'../database/images/'
+UPLOAD_ROOT = 'images/'
# Only For Storing Images