old_contents: # -*- coding: utf-8 -*-
  
  from django.conf.urls.defaults import patterns, url
  
  urlpatterns = patterns(
      'Instanssi.kompomaatti.views',
      url(r'^$', 'index', name="kompomaatti-index"),
      url(r'^compos/', 'compos', name="kompomaatti-compos"),
      url(r'^compo/(?P<compo_id>\d+)/entry/(?P<entry_id>\d+)/edit/', 'compoentry_edit', name="kompomaatti-entry-edit"),
      url(r'^compo/(?P<compo_id>\d+)/entry/(?P<entry_id>\d+)/delete/', 'compoentry_delete', name="kompomaatti-entry-delete"),
      url(r'^compo/(?P<compo_id>\d+)/vote/', 'compo_vote', name="kompomaatti-compo-vote"),
      url(r'^compo/(?P<compo_id>\d+)/', 'compo_details', name="kompomaatti-compo"),
      url(r'^competitions/', 'competitions', name="kompomaatti-competitions"),
      url(r'^competition/(?P<competition_id>\d+)/signout/', 'competition_signout', name="kompomaatti-competition-signout"),
      url(r'^competition/(?P<competition_id>\d+)/', 'competition_details', name="kompomaatti-competition"),
      url(r'^profile/', 'profile', name="kompomaatti-profile"),
      url(r'^logout/', 'do_logout', name="kompomaatti-logout"),
      url(r'^login/', 'do_login', name="kompomaatti-login"),
  )
  
new_contents: # -*- coding: utf-8 -*-
  
  from django.conf.urls.defaults import patterns, url
  
  urlpatterns = patterns(
      'Instanssi.kompomaatti.views',
      url(r'^$', 'index', name="kompomaatti-index"),
      url(r'^compos/', 'compos', name="kompomaatti-compos"),
      url(r'^compo/(?P<compo_id>\d+)/entry/(?P<entry_id>\d+)/edit/', 'compoentry_edit', name="kompomaatti-entry-edit"),
      url(r'^compo/(?P<compo_id>\d+)/entry/(?P<entry_id>\d+)/delete/', 'compoentry_delete', name="kompomaatti-entry-delete"),
      url(r'^compo/(?P<compo_id>\d+)/entry/(?P<entry_id>\d+)/', 'entry_details', name="kompomaatti-entry"),
      url(r'^compo/(?P<compo_id>\d+)/vote/', 'compo_vote', name="kompomaatti-compo-vote"),
      url(r'^compo/(?P<compo_id>\d+)/', 'compo_details', name="kompomaatti-compo"),
      url(r'^competitions/', 'competitions', name="kompomaatti-competitions"),
      url(r'^competition/(?P<competition_id>\d+)/signout/', 'competition_signout', name="kompomaatti-competition-signout"),
      url(r'^competition/(?P<competition_id>\d+)/', 'competition_details', name="kompomaatti-competition"),
      url(r'^profile/', 'profile', name="kompomaatti-profile"),
      url(r'^logout/', 'do_logout', name="kompomaatti-logout"),
      url(r'^login/', 'do_login', name="kompomaatti-login"),
  )
  
subject: Add url for entry details.