Commit b9c7563d authored by Nadrieril's avatar Nadrieril

Changed static folder location

parent d4385bd2
/db.sqlite3
*.pyc
/rest_framework_jwt
/static
......@@ -42,6 +42,7 @@ INSTALLED_APPS = (
'bars_api',
)
MIDDLEWARE_CLASSES = (
'corsheaders.middleware.CorsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
......@@ -89,7 +90,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.6/howto/static-files/
STATIC_URL = '/api/static/'
PROJECT_ROOT = os.path.dirname(__file__)
PROJECT_ROOT = os.path.dirname(os.path.dirname(__file__))
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static/')
# Rest framework
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment