Revision 0790d933 edumanage/urls.py
b/edumanage/urls.py | ||
---|---|---|
4 | 4 |
url(r'^$', 'index', name="index"), |
5 | 5 |
url(r'^geolocate/?$', 'geolocate', name="geolocate"), |
6 | 6 |
url(r'^closest/?$', 'closest', name="closest"), |
7 |
|
|
8 |
url(r'^general/institution.xml', "instxml", name="instxml"), |
|
9 |
url(r'^general/realm.xml', "realmxml", name="realmxml"), |
|
10 |
url(r'^general/realm_data.xml', "realmdataxml", name="realmdataxml"), |
|
11 |
|
|
7 | 12 |
url(r'^manage/?$', 'manage', name="manage"), |
8 |
|
|
9 |
url(r'^institutions/?$', 'institutions', name="institutions"), |
|
10 |
url(r'^institution/edit/(?P<institution_pk>\d+)?$', 'add_institution_details', name="edit-institution"), |
|
11 |
|
|
12 |
url(r'^services/(?P<service_pk>\d+)?$', 'services', name="services"), |
|
13 |
url(r'^services/del/?$', 'del_service', name="del-service"), |
|
14 |
url(r'^services/edit/(?P<service_pk>\d+)?$', 'add_services', name="edit-services"), |
|
15 |
url(r'^services/points/?$', 'get_service_points', name="get-service-points"), |
|
16 |
url(r'^services/allpoints/?$', 'get_all_services', name="get-all-services"), |
|
17 |
|
|
18 |
url(r'^servers/(?P<server_pk>\d+)?$', 'servers', name="servers"), |
|
19 |
url(r'^servers/del/?$', 'del_server', name="del-server"), |
|
20 |
url(r'^servers/edit/(?P<server_pk>\d+)?$', 'add_server', name="edit-servers"), |
|
21 |
|
|
22 |
url(r'^realms/?$', 'realms', name="realms"), |
|
23 |
url(r'^realms/edit/(?P<realm_pk>\d+)?$', 'add_realm', name="edit-realms"), |
|
24 |
url(r'^realms/del/?$', 'del_realm', name="del-realm"), |
|
25 | 13 |
|
26 |
url(r'^contacts/?$', 'contacts', name="contacts"), |
|
27 |
url(r'^contacts/edit/(?P<contact_pk>\d+)?$', 'add_contact', name="edit-contacts"), |
|
28 |
url(r'^contacts/del/?$', 'del_contact', name="del-contact"), |
|
14 |
|
|
15 |
url(r'^manage/institutions/?$', 'institutions', name="institutions"), |
|
16 |
url(r'^manage/institution/edit/(?P<institution_pk>\d+)?$', 'add_institution_details', name="edit-institution"), |
|
17 |
|
|
18 |
url(r'^manage/services/(?P<service_pk>\d+)?$', 'services', name="services"), |
|
19 |
url(r'^manage/services/del/?$', 'del_service', name="del-service"), |
|
20 |
url(r'^manage/services/edit/(?P<service_pk>\d+)?$', 'add_services', name="edit-services"), |
|
21 |
url(r'^manage/services/points/?$', 'get_service_points', name="get-service-points"), |
|
22 |
url(r'^manage/services/allpoints/?$', 'get_all_services', name="get-all-services"), |
|
23 |
|
|
24 |
url(r'^manage/servers/(?P<server_pk>\d+)?$', 'servers', name="servers"), |
|
25 |
url(r'^manage/servers/del/?$', 'del_server', name="del-server"), |
|
26 |
url(r'^manage/servers/edit/(?P<server_pk>\d+)?$', 'add_server', name="edit-servers"), |
|
27 |
|
|
28 |
url(r'^manage/realms/?$', 'realms', name="realms"), |
|
29 |
url(r'^manage/realms/edit/(?P<realm_pk>\d+)?$', 'add_realm', name="edit-realms"), |
|
30 |
url(r'^manage/realms/del/?$', 'del_realm', name="del-realm"), |
|
31 |
|
|
32 |
url(r'^manage/contacts/?$', 'contacts', name="contacts"), |
|
33 |
url(r'^manage/contacts/edit/(?P<contact_pk>\d+)?$', 'add_contact', name="edit-contacts"), |
|
34 |
url(r'^manage/contacts/del/?$', 'del_contact', name="del-contact"), |
|
29 | 35 |
|
30 |
url(r'^adduser/?$', 'adduser', name="adduser"), |
|
36 |
url(r'^manage/adduser/?$', 'adduser', name="adduser"),
|
|
31 | 37 |
|
32 |
url(r'^general/institution.xml', "instxml", name="instxml"), |
|
33 |
url(r'^general/realm.xml', "realmxml", name="realmxml"), |
|
38 |
|
|
34 | 39 |
|
35 | 40 |
|
36 | 41 |
) |
Also available in: Unified diff