equal
deleted
inserted
replaced
|
1 from django.conf.urls.defaults import * |
|
2 from django.contrib.databrowse import views |
|
3 |
|
4 # Note: The views in this URLconf all require a 'models' argument, |
|
5 # which is a list of model classes (*not* instances). |
|
6 |
|
7 urlpatterns = patterns('', |
|
8 #(r'^$', views.homepage), |
|
9 #(r'^([^/]+)/([^/]+)/$', views.model_detail), |
|
10 |
|
11 (r'^([^/]+)/([^/]+)/fields/(\w+)/$', views.choice_list), |
|
12 (r'^([^/]+)/([^/]+)/fields/(\w+)/(.*)/$', views.choice_detail), |
|
13 |
|
14 #(r'^([^/]+)/([^/]+)/calendars/(\w+)/$', views.calendar_main), |
|
15 #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/$', views.calendar_year), |
|
16 #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/(\w{3})/$', views.calendar_month), |
|
17 #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/(\w{3})/(\d{1,2})/$', views.calendar_day), |
|
18 |
|
19 #(r'^([^/]+)/([^/]+)/objects/(.*)/$', views.object_detail), |
|
20 ) |