summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/urls.py
blob: 526990d9572cc56f080b4af85fc2b4e3bdb10739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from django.conf.urls.defaults import *

urlpatterns = patterns('Hostbase.hostbase.views',
    # Example:
    # (r'^djangobase/', include('djangobase.apps.foo.urls.foo')),

    # Uncomment this for admin:
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^hostbase/$', 'search'),
    (r'^hostbase/(?P<host_id>\d+)/$', 'look'),
    (r'^hostbase/(?P<host_id>\d+)/edit', 'edit'),
    (r'^hostbase/(?P<host_id>\d+)/remove', 'remove'),
    (r'^hostbase/(?P<host_id>\d+)/(?P<item>\D+)/(?P<item_id>\d+)/confirm', 'confirm'),
    (r'^hostbase/(?P<host_id>\d+)/(?P<item>\D+)/(?P<item_id>\d+)/(?P<name_id>\d+)/confirm', 'confirm'),
    (r'^hostbase/(?P<host_id>\d+)/dns/edit', 'dnsedit'),
    (r'^hostbase/(?P<host_id>\d+)/dns', 'dns'),
    (r'^hostbase/new', 'new'),
    (r'^hostbase/hostinfo', 'hostinfo'),
    (r'^hostbase/zones/$', 'zones'),
    (r'^hostbase/zones/(?P<zone_id>\d+)/$', 'zoneview'),                       
    (r'^hostbase/zones/(?P<zone_id>\d+)/edit', 'zoneedit'),
)