| 1 | from django.conf.urls.defaults import * |
|---|
| 2 | |
|---|
| 3 | # Uncomment the next two lines to enable the admin: |
|---|
| 4 | from django.contrib import admin |
|---|
| 5 | admin.autodiscover() |
|---|
| 6 | |
|---|
| 7 | urlpatterns = patterns('', |
|---|
| 8 | # Example: |
|---|
| 9 | # (r'^pxemngr/', include('pxemngr.foo.urls')), |
|---|
| 10 | |
|---|
| 11 | # Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|---|
| 12 | # to INSTALLED_APPS to enable admin documentation: |
|---|
| 13 | # (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|---|
| 14 | |
|---|
| 15 | (r'^localboot/(?P<mac>[a-fA-F0-9:-]+)/$', 'pxe.views.localboot'), |
|---|
| 16 | (r'^localboot/$', 'pxe.views.localboot1'), |
|---|
| 17 | (r'^profile/(?P<mac>[a-fA-F0-9:-]+)/$', 'pxe.views.profile'), |
|---|
| 18 | (r'^profile/$', 'pxe.views.profile1'), |
|---|
| 19 | |
|---|
| 20 | (r'^upload/(?P<logid>[0-9]+)/$', 'tester.views.upload_file'), |
|---|
| 21 | (r'^nexttest/$', 'tester.views.next_test1'), |
|---|
| 22 | (r'^nexttest/(?P<mac>[a-fA-F0-9:-]+)/$', 'tester.views.next_test'), |
|---|
| 23 | |
|---|
| 24 | (r'^$', 'tester.views.index'), |
|---|
| 25 | (r'^tests/(?P<verid>[0-9]+)/$', 'tester.views.logs'), |
|---|
| 26 | (r'^test/(?P<logid>[0-9]+)/$', 'tester.views.log'), |
|---|
| 27 | (r'^testcontent/(?P<logid>[0-9]+)/$', 'tester.views.content'), |
|---|
| 28 | (r'^script/(?P<name>.+)/$', 'tester.views.script'), |
|---|
| 29 | (r'^system/(?P<sysid>[0-9]+)/$', 'tester.views.system'), |
|---|
| 30 | (r'^testname/(?P<tstid>[0-9]+)/$', 'tester.views.testname'), |
|---|
| 31 | |
|---|
| 32 | # Uncomment the next line to enable the admin: |
|---|
| 33 | (r'^admin/(.*)', admin.site.root), |
|---|
| 34 | ) |
|---|