urls.py 678 B

12345678910111213141516171819202122232425
  1. from django.conf.urls.defaults import *
  2. # Uncomment the next two lines to enable the admin:
  3. # from django.contrib import admin
  4. # admin.autodiscover()
  5. urlpatterns = patterns('',
  6. (r'^dlms/$', 'dlms.views.index'),
  7. (r'^dlms/login/$', 'dlms.views.doLogin'),
  8. #(r'^dlms/add/$', 'dlms.views.addItem'),
  9. (r'^dlms/delete/(?P<hash_string>\w+)/', 'dlms.views.delItem'),
  10. # Example:
  11. # (r'^usic/', include('usic.foo.urls')),
  12. # Uncomment the admin/doc line below to enable admin documentation:
  13. # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  14. # Uncomment the next line to enable the admin:
  15. # (r'^admin/', include(admin.site.urls)),
  16. )