1
Fork 0

Clean up settings file

This commit is contained in:
Jake Howard 2015-11-09 08:40:37 +00:00
parent 1b6dbbe5d3
commit 8b8b74f9bb

View file

@ -11,7 +11,6 @@ https://docs.djangoproject.com/en/1.8/ref/settings/
""" """
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import dj_database_url import dj_database_url
# import logging
import os import os
import sys import sys
@ -38,16 +37,10 @@ INSTALLED_APPS = (
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'rest_framework',
'bootstrapform', 'bootstrapform',
'project.pages', 'project.pages',
'project.common', 'project.common',
'project.projects',
'project.robotics',
'project.setup',
'project.media',
'project.college'
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
@ -105,4 +98,3 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'collected-static')
STATICFILES_DIRS = ( STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static', 'build'), os.path.join(BASE_DIR, 'static', 'build'),
) )
STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'