Commit 09585b34 authored by Zenon Mousmoulas's avatar Zenon Mousmoulas

Remove remnants of edumanage/

Leftover from before switching to Python Social Auth. The actual
middleware had been removed in 017e8975
parent bd53a1a0
from django.conf import settings
from django.core.urlresolvers import RegexURLResolver
def resolver(request):
Returns a RegexURLResolver for the request's urlconf.
If the request does not have a urlconf object, then the default of
settings.ROOT_URLCONF is used.
urlconf = getattr(request, "urlconf", settings.ROOT_URLCONF)
return RegexURLResolver(r'^/', urlconf)
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