Add app url namespacing to the common and main apps, fix missing namespace in the registration app, remove explict reverse_lazy for the LOGIN_URL and LOGIN_REDIRECT_URL these are expected to be views or URLs (failover)
This commit is contained in:
@@ -15,7 +15,7 @@ from .conf.settings import DISABLE_HOME_VIEW
|
||||
|
||||
def home(request):
|
||||
if DISABLE_HOME_VIEW:
|
||||
return HttpResponseRedirect(reverse('document_list_recent'))
|
||||
return HttpResponseRedirect(reverse('documents:document_list_recent'))
|
||||
else:
|
||||
return render_to_response('main/home.html', {},
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
Reference in New Issue
Block a user