1. Goeie Jongens
  2. django-environments

Commits

Vincent Hillenbrink  committed a18a45b

Added LOGIN_URL handler to default urls

  • Participants
  • Parent commits 47e5fec
  • Branches default

Comments (0)

Files changed (1)

File etc/urls.py

View file
     (r'^admin/doc/', include('django.contrib.admindocs.urls')),
     (r'^admin/', include(admin.site.urls)),
     (r'^databrowse/(.*)', databrowse.site.root),
+    (r'^%s$' % settings.LOGIN_URL[1:], 'django.contrib.auth.views.login',
+         {'template_name': 'admin/login.html'})
 )
 
 if getattr(settings, 'ADMIN_SITE', False):