aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--settings.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index fd8492b..3e6c155 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ uploads/settings/*
uploads/products/*
uploads/repairs/*
uploads/templates/*
+uploads/temp/*
backups/*
local_settings.py
local_rules.json
diff --git a/settings.py b/settings.py
index 805d764..74f01ae 100644
--- a/settings.py
+++ b/settings.py
@@ -48,6 +48,7 @@ USE_TZ = True
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')
+TEMP_ROOT = os.path.join(MEDIA_ROOT, 'temp')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.