diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-08-29 16:33:36 +0000 |
commit | 510c55e843ea0a1c049b39a9f57ff044190fcbd9 (patch) | |
tree | 5e82a8238779a088147ff61efc0db305be76a1f7 /src/lib/Server/Hostbase/urls.py~ | |
parent | dbc96682be8968aac8ca8f8727728d60609f732c (diff) | |
download | bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.gz bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.tar.bz2 bcfg2-510c55e843ea0a1c049b39a9f57ff044190fcbd9.zip |
Added all the django application code
includes database models, file templates, and web apps
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2135 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/urls.py~')
-rw-r--r-- | src/lib/Server/Hostbase/urls.py~ | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/urls.py~ b/src/lib/Server/Hostbase/urls.py~ new file mode 100644 index 000000000..71eaec009 --- /dev/null +++ b/src/lib/Server/Hostbase/urls.py~ @@ -0,0 +1,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'), +) |