Common app updates

This commit is contained in:
Roberto Rosario
2012-09-07 02:04:14 -04:00
parent 9e4a7025de
commit c906a5dcee
8 changed files with 82 additions and 58 deletions

View File

@@ -5,7 +5,8 @@ import re
from django.http import HttpResponseRedirect
from django.conf import settings
from ..conf.settings import ALLOW_ANONYMOUS_ACCESS
#from ..conf.settings import ALLOW_ANONYMOUS_ACCESS
from .. import ALLOW_ANONYMOUS_ACCESS
EXEMPT_URLS = [re.compile(settings.LOGIN_URL.lstrip('/'))]
if hasattr(settings, 'LOGIN_EXEMPT_URLS'):