mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
update test_settings
This commit is contained in:
parent
e32e125a65
commit
d2f9261703
|
@ -1,17 +1,16 @@
|
||||||
import django
|
import django
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
# PROJECT_ROOT = os.path.abspath(os.path.split(os.path.split(__file__)[0])[0])
|
PROJECT_ROOT = os.path.abspath(os.path.split(os.path.split(__file__)[0])[0])
|
||||||
# ROOT_URLCONF = 'urls'
|
ROOT_URLCONF = 'urls'
|
||||||
|
STATIC_URL = '/static/'
|
||||||
# STATIC_URL = '/static/'
|
STATIC_ROOT = '%s/staticserve' % PROJECT_ROOT
|
||||||
# STATIC_ROOT = '%s/staticserve' % PROJECT_ROOT
|
STATICFILES_DIRS = (
|
||||||
# STATICFILES_DIRS = (
|
('global', '%s/static' % PROJECT_ROOT),
|
||||||
# ('global', '%s/static' % PROJECT_ROOT),
|
)
|
||||||
# )
|
UPLOADS_DIR_NAME = 'uploads'
|
||||||
# UPLOADS_DIR_NAME = 'uploads'
|
MEDIA_URL = '/%s/' % UPLOADS_DIR_NAME
|
||||||
# MEDIA_URL = '/%s/' % UPLOADS_DIR_NAME
|
MEDIA_ROOT = os.path.join(PROJECT_ROOT, '%s' % UPLOADS_DIR_NAME)
|
||||||
# MEDIA_ROOT = os.path.join(PROJECT_ROOT, '%s' % UPLOADS_DIR_NAME)
|
|
||||||
|
|
||||||
IS_DEV = False
|
IS_DEV = False
|
||||||
IS_STAGING = False
|
IS_STAGING = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user