Commit 8fe0f2af authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos
Browse files

Updated urls.py with latest changes

parent 46129181
......@@ -6,10 +6,13 @@ from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
(r'^setlang/?$', 'django.views.i18n.set_language'),
# Uncomment the admin/doc line below to enable admin documentation:
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
url(r'^login/?', 'eduroam.edumanage.views.user_login', name="login"),
url(r'^logout/?', 'django.contrib.auth.views.logout', {'next_page': '/'}, name="logout"),
......@@ -35,7 +38,8 @@ urlpatterns += patterns('edumanage.views',
url(r'^general/realm_data.xml', "realmdataxml", name="realmdataxml"),
url(r'^manage/?$', 'manage', name="manage"),
url(r'^manage/institutions/?$', 'institutions', name="institutions"),
url(r'^manage/institution/edit/(?P<institution_pk>\d+)?$', 'add_institution_details', name="edit-institution"),
......@@ -60,6 +64,13 @@ urlpatterns += patterns('edumanage.views',
url(r'^manage/adduser/?$', 'adduser', name="adduser"),
url(r'^manage/selectinst/?$', 'selectinst', name="selectinst"),
url(r'^manage/instrealmsmon/?$', 'instrealmmon', name="instrealmmon"),
url(r'^manage/instrealmsmon/edit/(?P<instrealmmon_pk>\d+)?$', 'add_instrealmmon', name="edit-instrealmmon"),
url(r'^manage/instrealmsmon/del/?$', 'del_instrealmmon', name="del-instrealmmon"),
url(r'^manage/monlocauthpar/edit/(?P<instrealmmon_pk>\d+)/(?P<monlocauthpar_pk>\d+)?$', 'add_monlocauthpar', name="edit-monlocauthpar"),
url(r'^manage/monlocauthpar/del/?$', 'del_monlocauthpar', name="del-monlocauthpar"),
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment