aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-22 11:05:19 -0500
committerBobby <[email protected]>2022-11-22 11:05:19 -0500
commit5f6e54f8318bf30cdc5d56b941a387cd324e03ad (patch)
tree113781690f6907b9a2be50fb3b7c54e3ec7cb96b
parent0db617f946b8060a4ee96864d6a302934134eec1 (diff)
downloadthatcomputerscientist-5f6e54f8318bf30cdc5d56b941a387cd324e03ad.tar.xz
thatcomputerscientist-5f6e54f8318bf30cdc5d56b941a387cd324e03ad.zip
fixed edit post and new post uris
-rw-r--r--ignis/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignis/models.py b/ignis/models.py
index 91809204..d77373bf 100644
--- a/ignis/models.py
+++ b/ignis/models.py
@@ -4,7 +4,7 @@ from dotenv import load_dotenv
import os
load_dotenv()
-UPLOAD_ROOT = 'images/' if os.getenv('ENVIRONMENT') == 'development' else '/home/ubuntu/database/images/'
+UPLOAD_ROOT = 'images/' if os.getenv('ENVIRONMENT') == 'development' else '~/database/images/'
# Only For Storing Images