Show
Ignore:
Timestamp:
02/10/09 20:16:04 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
7218e7ce77d425dcf3e8c6e1bea40242315868c4
Parents:
0cdcde4b0b7371a511bb3681726d4102b8fac1af
git-committer:
Frederic Lepied <frederic.lepied@…> (02/10/09 20:16:04)
Message:

transparently find the mac address

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • urls.py

    r853b6ff r8784ede  
    22 
    33# Uncomment the next two lines to enable the admin: 
    4 # from django.contrib import admin 
    5 # admin.autodiscover() 
     4#from django.contrib import admin 
     5#admin.autodiscover() 
    66 
    77urlpatterns = patterns('', 
     
    1313    # (r'^admin/doc/', include('django.contrib.admindocs.urls')), 
    1414 
     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     
    1520    # Uncomment the next line to enable the admin: 
    16     # (r'^admin/(.*)', admin.site.root), 
    17     (r'^localboot/(?P<mac>[a-fA-F0-9:-]+)/$', 'pxe.views.localboot'), 
    18     (r'^profile/(?P<mac>[a-fA-F0-9:-]+)/$', 'pxe.views.profile'), 
     21    #(r'^admin/(.*)', admin.site.root), 
    1922)