root / edumanage / urls.py @ c2cca19e
History | View | Annotate | Download (1.6 kB)
1 |
from django.conf.urls.defaults import * |
---|---|
2 |
|
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 |
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 |
|
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"), |
29 |
|
30 |
url(r'^adduser/?$', 'adduser', name="adduser"), |
31 |
|
32 |
url(r'^general/institution.xml', "instxml", name="instxml"), |
33 |
url(r'^general/realm.xml', "realmxml", name="realmxml"), |
34 |
|
35 |
|
36 |
) |
37 |
|