summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/urls.py~
blob: 71eaec0093f3328db26ddd90713621974936c212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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+)/(?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'),                       
)