old_contents: from django.conf.urls.defaults import patterns, include, url
  from hansard.views import IndexView, SittingView
  
  urlpatterns = patterns('hansard.views',
      url( r'^$', IndexView.as_view(), name="index" ),
  
      # not the final URL structure - but something to start work with
      url( r'^sitting/(?P<pk>\d+)/', SittingView.as_view(), name="sitting_view" ),
      
      # views for a specific person
      url( r'^person/(?P<slug>[\w\-]+)/summary/', 'person_summary', name='person_summary' ),
      # url( r'^person/(?P<slug>[\w\-]+)/',         'person_entries', name='person_entries' ),
  
  )
  
new_contents: from django.conf.urls.defaults import patterns, include, url
  from hansard.views import IndexView, SittingView
  
  urlpatterns = patterns('hansard.views',
      url( r'^$', IndexView.as_view(), name="index" ),
  
      # not the final URL structure - but something to start work with
      # url( r'^sitting/(?P<pk>\d+)/', SittingView.as_view(), name="sitting_view" ),
  
      # Try to make the url human readable
      # sitting/<venue>/<start_date>[-<start_time>]/
      # sitting/main_chamber/2011-12-03
      # sitting/main_chamber/2011-12-03-14-00-00
      url(
          r'^sitting/(?P<venue_slug>[\w\-]+)/(?P<start_date_and_time>\d{4}-\d{2}-\d{2}(?:-\d{2}-\d{2}-\d{2}))?',
          SittingView.as_view(),
          name="sitting_view"
      ),
  
      
      
      # views for a specific person
      url( r'^person/(?P<slug>[\w\-]+)/summary/', 'person_summary', name='person_summary' ),
      # url( r'^person/(?P<slug>[\w\-]+)/',         'person_entries', name='person_entries' ),
  
  )
  
subject: Define the url structure