We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f14941b commit d00b928Copy full SHA for d00b928
draceditor_demo/draceditor_demo/settings.py
@@ -119,13 +119,9 @@
119
120
# Static files (CSS, JavaScript, Images)
121
# https://docs.djangoproject.com/en/1.10/howto/static-files/
122
-STATICFILES_DIRS = (
123
- os.path.join(BASE_DIR, 'static'),
124
- '/home/agaust/ENV/env-markdown/dracos-markdown/draceditor_demo/static',
125
-)
+import tempfile
126
127
STATIC_URL = '/static/'
128
-#STATIC_ROOT = '/home/agaust/ENV/env-markdown/dracos-markdown/draceditor_demo/static'
129
-
130
MEDIA_URL = '/media/'
131
-MEDIA_ROOT = '/home/agaust/ENV/env-markdown/dracos-markdown/draceditor_demo/media'
+STATIC_ROOT = os.path.join(tempfile.gettempdir(), 'draceditor_static')
+MEDIA_ROOT = os.path.join(tempfile.gettempdir(), 'draceditor_media')
0 commit comments