Commits

Anonymous committed b20d389

Fixed possible bug in default STATIC_ROOT and MEDIA_ROOT

Comments (0)

Files changed (1)

etc/settings/generic.py

 USE_L10N = False
 
 STATIC_ID = 'static'
-STATIC_ROOT = path.join(DJANGO_PROJECT_DIR, STATIC_ID)
+STATIC_ROOT = path.join(PROJECT_ROOT, STATIC_ID)
 STATIC_URL = '/%s/' % STATIC_ID
 MEDIA_ID = 'media'
-MEDIA_ROOT = path.join(DJANGO_PROJECT_DIR, MEDIA_ID)
+MEDIA_ROOT = path.join(PROJECT_ROOT, MEDIA_ID)
 MEDIA_URL = '/%s/' % MEDIA_ID
 
 ROOT_URLCONF = DJANGO_PROJECT + '.urls'