diff options
Diffstat (limited to 'python/tbc_www/urls.py')
-rw-r--r-- | python/tbc_www/urls.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/python/tbc_www/urls.py b/python/tbc_www/urls.py index ea2db31..dfea3a7 100644 --- a/python/tbc_www/urls.py +++ b/python/tbc_www/urls.py @@ -1,14 +1,22 @@ from django.conf.urls import url from . import views +from django.contrib.auth import views as auth_views urlpatterns = [ url(r'^home/$', views.home), - url(r'^packages/$', views.categories), - url(r'^categories/(?P<category_id>\d+)/$', views.packages), - url(r'^packages/(?P<package_id>\d+)/$', views.ebuilds), - url(r'^ebuild/(?P<ebuild_id>\d+)/$', views.ebuild), - url(r'^new/logs/build/(?P<buildlog_id>\d+)/$', views.new_logs_build), - url(r'^new/logs/$', views.new_logs), - url(r'^new/repoman/$', views.new_repoman), - url(r'^new/$', views.new_main), + url(r'^categories/$', views.categories), + url(r'^categories/packages/(?P<category_id>\d+)/$', views.packages), + url(r'^categories/packages/versions/(?P<package_id>\d+)/$', views.versions), + url(r'^build_req/$', views.new_build_req), + url(r'^logs/build/(?P<buildlog_id>\d+)/$', views.new_logs_build, name='new_logs_build'), + url(r'^logs/build/submitlog/(?P<buildlog_id>\d+)/$', views.buildinfo_bugzilla), + url(r'^logs/$', views.new_logs), + url(r'^logs/all/build/$', views.new_build_logs_all), + url(r'^logs/all/repoman/$', views.new_repoman), + url(r'^user/login/$', auth_views.login, name='login'), + url(r'^user/logout/$', auth_views.logout, {'next_page': '/home/'}, name='logout'), + url(r'^user/password_change/$', auth_views.password_change, name='password_change'), + url(r'^user/password_change/done/$', auth_views.password_change_done, name='password_change_done'), + url(r'^user/password_reset/$', auth_views.password_reset, name='password_reset'), + url(r'^user/bugzillalogin/$', views.set_bugzilla_user), ] |