fix staticfile config in settings.py
This commit is contained in:
parent
825561125b
commit
5d9257249c
|
@ -90,20 +90,20 @@ MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
|
|||
|
||||
ROOT_URLCONF = 'pffedportal.urls'
|
||||
|
||||
# template from univnautes
|
||||
# templates from univnautes
|
||||
TEMPLATE_DIRS = (
|
||||
'/var/lib/univnautes/templates/',
|
||||
os.path.join(_PROJECT_PATH, 'templates'),
|
||||
)
|
||||
|
||||
INSTALLED_APPS = (
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.sites',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.admin',
|
||||
# pffedportal :
|
||||
'django.contrib.staticfiles',
|
||||
# pffedportal:
|
||||
'authentic2.idp',
|
||||
'authentic2.attribute_aggregator',
|
||||
'base',
|
||||
|
@ -186,9 +186,6 @@ SAML_METADATA_AUTOLOAD = 'none'
|
|||
# pfSense / univnautes relationship
|
||||
#
|
||||
|
||||
# /media is handled by this project
|
||||
STATIC_SERVE = True
|
||||
|
||||
# fastcgi (see http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/)
|
||||
FORCE_SCRIPT_NAME=""
|
||||
|
||||
|
|
Reference in New Issue