From d2f926170399c2aa11cd4dfc480354f53fd4b6c6 Mon Sep 17 00:00:00 2001 From: Mateusz Sikora Date: Fri, 2 May 2014 23:55:39 +0200 Subject: [PATCH] update test_settings --- rest_auth/test_settings.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/rest_auth/test_settings.py b/rest_auth/test_settings.py index 99239af..dcf30b4 100644 --- a/rest_auth/test_settings.py +++ b/rest_auth/test_settings.py @@ -1,17 +1,16 @@ import django import os, sys -# PROJECT_ROOT = os.path.abspath(os.path.split(os.path.split(__file__)[0])[0]) -# ROOT_URLCONF = 'urls' - -# STATIC_URL = '/static/' -# STATIC_ROOT = '%s/staticserve' % PROJECT_ROOT -# STATICFILES_DIRS = ( -# ('global', '%s/static' % PROJECT_ROOT), -# ) -# UPLOADS_DIR_NAME = 'uploads' -# MEDIA_URL = '/%s/' % UPLOADS_DIR_NAME -# MEDIA_ROOT = os.path.join(PROJECT_ROOT, '%s' % UPLOADS_DIR_NAME) +PROJECT_ROOT = os.path.abspath(os.path.split(os.path.split(__file__)[0])[0]) +ROOT_URLCONF = 'urls' +STATIC_URL = '/static/' +STATIC_ROOT = '%s/staticserve' % PROJECT_ROOT +STATICFILES_DIRS = ( + ('global', '%s/static' % PROJECT_ROOT), +) +UPLOADS_DIR_NAME = 'uploads' +MEDIA_URL = '/%s/' % UPLOADS_DIR_NAME +MEDIA_ROOT = os.path.join(PROJECT_ROOT, '%s' % UPLOADS_DIR_NAME) IS_DEV = False IS_STAGING = False