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:
Roberto Rosario
2014-09-09 03:51:23 -04:00
parent 7dfacc624c
commit f5bef4b52d
11 changed files with 26 additions and 27 deletions
+1 -1
View File
@@ -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))