Revision 4889a219
b/edumanage/urls.py | ||
---|---|---|
1 |
from django.conf.urls.defaults import * |
|
2 | 1 |
|
3 |
urlpatterns = patterns('edumanage.views', |
|
4 |
url(r'^$', 'index', name="index"), |
|
5 |
url(r'^geolocate/?$', 'geolocate', name="geolocate"), |
|
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 |
|
|
12 |
url(r'^manage/?$', 'manage', name="manage"), |
|
13 |
|
|
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"), |
|
35 |
|
|
36 |
url(r'^manage/adduser/?$', 'adduser', name="adduser"), |
|
37 |
|
|
38 |
url(r'^manage/selectinst/?$', 'selectinst', name="selectinst"), |
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
) |
|
43 | 2 |
|
Also available in: Unified diff