app/django/contrib/databrowse/urls.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 10 Apr 2009 15:32:11 +0000
changeset 2146 57c74ce47fa3
parent 54 03e267d67478
permissions -rw-r--r--
Added Manage Student Projects item to the organization menu. Only visible after the accepted students deadline has passed and the current user is an org admin. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

from django.conf.urls.defaults import *
from django.contrib.databrowse import views

# Note: The views in this URLconf all require a 'models' argument,
# which is a list of model classes (*not* instances).

urlpatterns = patterns('',
    #(r'^$', views.homepage),
    #(r'^([^/]+)/([^/]+)/$', views.model_detail),

    (r'^([^/]+)/([^/]+)/fields/(\w+)/$', views.choice_list),
    (r'^([^/]+)/([^/]+)/fields/(\w+)/(.*)/$', views.choice_detail),

    #(r'^([^/]+)/([^/]+)/calendars/(\w+)/$', views.calendar_main),
    #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/$', views.calendar_year),
    #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/(\w{3})/$', views.calendar_month),
    #(r'^([^/]+)/([^/]+)/calendars/(\w+)/(\d{4})/(\w{3})/(\d{1,2})/$', views.calendar_day),

    #(r'^([^/]+)/([^/]+)/objects/(.*)/$', views.object_detail),
)