old_contents: from django.conf.urls import url
  
  from . import views
  
  urlpatterns = [
      # eg: /footballseason/
      url(r'^$', views.index, name='index'),
  
      # eg: /footballseason/display/2015/3/
      url(r'^display/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.display, name='display'),
  
      # eg: /footballseason/submit/2015/3
      url(r'^submit/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.submit, name='submit'),
  
      # eg: /footballseason/vote/2015/3
      url(r'^vote/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.vote, name='vote'),
  
      # eg: /footballseason/submit/2015
      url(r'^submit/(?P<season_id>[0-9]+)$', views.submit, {'week_id': 0}, name='submit_current'),
  
      # eg: /footballseason/display/2015
      url(r'^display/(?P<season_id>[0-9]+)/$', views.display, {'week_id': 0}, name='display_current'),
  
      # eg: /footballseason/live/
      url(r'^live/$', views.live, name='live'),
  
      # Hidden, for now
      # eg: /footballseason/update/
      url(r'^update/$', views.update, name='update'),
  
      # eg: /footballseason/records/
      url(r'^records/$', views.records, {'week': 1337, 'season_id':1337}, name='records_default'),
  
      # eg: /footballseason/records/2015/
      url(r'^records/(?P<season_id>[0-9]+)/$', views.records, {'week':0}, name='records_by_season'),
  
      # eg: /footballseason/records/2015/3/
      url(r'^records/(?P<season_id>[0-9]+)/(?P<week>[0-9]+)/$', views.records, name='records_by_week'),
  
  ]
  
new_contents: from django.conf.urls import url
  
  from . import views
  
  urlpatterns = [
      # eg: /footballseason/
      url(r'^$', views.index, name='index'),
  
      # eg: /footballseason/display/2015/3/
      url(r'^display/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.display, name='display'),
  
      # eg: /footballseason/submit/2015/3
      url(r'^submit/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.submit, name='submit'),
  
      # eg: /footballseason/vote/2015/3
      url(r'^vote/(?P<season_id>[0-9]+)/(?P<week_id>[0-9]+)/$', views.vote, name='vote'),
  
      # eg: /footballseason/submit/2015
      url(r'^submit/(?P<season_id>[0-9]+)$', views.submit, {'week_id': 0}, name='submit_current'),
  
      # eg: /footballseason/display/2015
      url(r'^display/(?P<season_id>[0-9]+)/$', views.display, {'week_id': 0}, name='display_current'),
  
      # eg: /footballseason/submit/
      url(r'^submit/$', views.submit, {'season_id': 0, 'week_id': 0}, name='submit_current'),
  
      # eg: /footballseason/display/
      url(r'^display/$', views.display, {'season_id': 0, 'week_id': 0}, name='display_current'),
  
      # eg: /footballseason/live/
      url(r'^live/$', views.live, name='live'),
  
      # Hidden, for now
      # eg: /footballseason/update/
      url(r'^update/$', views.update, name='update'),
  
      # eg: /footballseason/records/
      url(r'^records/$', views.records, {'week': 1337, 'season_id':1337}, name='records_default'),
  
      # eg: /footballseason/records/2015/
      url(r'^records/(?P<season_id>[0-9]+)/$', views.records, {'week':0}, name='records_by_season'),
  
      # eg: /footballseason/records/2015/3/
      url(r'^records/(?P<season_id>[0-9]+)/(?P<week>[0-9]+)/$', views.records, name='records_by_week'),
  
  ]
  
subject: Fix bug with empty season_id in login page