diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -89,12 +89,10 @@ urlpatterns += patterns('', 'news-sitemap'), ) -# Authentication / Admin +# Authentication urlpatterns += patterns('django.contrib.auth.views', - (r'^login/$', 'login', { - 'template_name': 'registration/login.html'}), - (r'^logout/$', 'logout', { - 'template_name': 'registration/logout.html'}), + (r'^login/$', 'login', {'template_name': 'registration/login.html'}, 'login'), + (r'^logout/$', 'logout', {'template_name': 'registration/logout.html'}, 'logout'), ) # Redirects for older known pages we see in the logs @@ -116,10 +114,8 @@ legacy_urls = ( ('^docs/en/guide/install/arch-install-guide.html', 'https://wiki.parabola.nu/Installation_Guide'), - ('^docs/en/', - 'https://wiki.parabola.nu/'), - ('^docs/', - 'https://wiki.parabola.nu/'), + ('^docs/en/', 'https://wiki.parabola.nu/'), + ('^docs/', 'https://wiki.parabola.nu/'), ('^developers/$', '/hackers/'), ('^trustedusers/$', '/hackers/'), |