aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-02 21:24:06 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-02 21:24:06 +0200
commit9bf45810ca9729fac51d796651a310a07d7b92cf (patch)
tree9e4fa9b9357893c76c10f38ecb3f2f09bf76976a
parentcd9aca0fc6afcd4ff5b6b7f00edcd68cab5b5c86 (diff)
downloadServo-9bf45810ca9729fac51d796651a310a07d7b92cf.tar.gz
Servo-9bf45810ca9729fac51d796651a310a07d7b92cf.tar.bz2
Servo-9bf45810ca9729fac51d796651a310a07d7b92cf.zip
Added TMP_ROOT
-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.