diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | settings.py | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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. |