from django.conf.urls import patterns, include, url
from django.core.urlresolvers import reverse_lazy
from django.views.generic import RedirectView


from django.contrib import admin
admin.autodiscover()

admin.site.site_title = 'Panubo DNS'
admin.site.site_header = 'Panubo DNS'
admin.site.index_title = 'Administration'

urlpatterns = patterns('',
    url(r'^$', RedirectView.as_view(url=reverse_lazy('admin:login'), permanent=False)),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/password_reset/$', 'django.contrib.auth.views.password_reset', name='admin_password_reset'),
    url(r'^accounts/', include('django.contrib.auth.urls')),
    url(r'^api/', include('project.api.urls')),
    url(r'^zone/', include('dnsmanager.urls')),
)
@@ -316,16 +316,92 @@
 ation'%0A%0A
+extra_context = %7B'site_title': 'Panubo DNS', 'site_header': 'Panubo DNS',%7D%0A%0A
 urlpatte
@@ -633,16 +633,50 @@
 _reset',
+ %7B'extra_context': extra_context%7D,
  name='a
@@ -752,24 +752,58 @@
 .auth.urls')
+, %7B'extra_context': extra_context%7D
 ),%0A    url(r

Fix appname heading in password reset urls