summaryrefslogtreecommitdiff
blob: 2f97143fe209c6d81c535396da5bf4e3b09152c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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'^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, name='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, name='set_bugzilla_user'),
	url(r'^cluster/$', views.cluster_configs)
]