From 365c9945fa3f8ea131251c8a59db4703656bf3dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Mon, 19 Apr 2010 23:18:12 +0200 Subject: [PATCH] Added logging to vhost template. Invalid package name prevented tickets from validating. --- cas.vhost.template | 9 ++++----- src/cas/settings.py | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/cas.vhost.template b/cas.vhost.template index d951258..970c91f 100644 --- a/cas.vhost.template +++ b/cas.vhost.template @@ -9,10 +9,6 @@ Alias /media/ $MEDIA_ROOT - # - # Logs - LogLevel info - # # WSGI configuration follows # @@ -46,6 +42,9 @@ # ExpiresActive On # ExpiresDefault "now plus 1 year" # - + + LogLevel info + ErrorLog /var/log/apache2/$PROJECT_NAME/error.log + CustomLog /var/log/apache2/$PROJECT_NAME/access.log combined \ No newline at end of file diff --git a/src/cas/settings.py b/src/cas/settings.py index 3ed14b0..3262fcd 100644 --- a/src/cas/settings.py +++ b/src/cas/settings.py @@ -94,7 +94,7 @@ INSTALLED_APPS = ( # django-cas-provider settings LOGIN_URL = '/cas/login/' LOGOUT_URL = '/cas/logout/' -CAS_CUSTOM_ATTRIBUTES_CALLBACK = 'utils.custom_attributes_callback' +CAS_CUSTOM_ATTRIBUTES_CALLBACK = 'cas.utils.custom_attributes_callback' SESSION_COOKIE_NAME = 'fnpcas' # Import localsettings file, which may override settings defined here -- 2.20.1