# -*- 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+)/', 'compo_details', name="kompomaatti-compo"),
    url(r'^competitions/', 'competitions', name="kompomaatti-competitions"),
    url(r'^competition/(?P<competition_id>\d+)/', 'competition_details', name="kompomaatti-competition"),
    url(r'^profile/', 'profile', name="kompomaatti-profile"),
    url(r'^login/', 'login', name="kompomaatti-login"),
    url(r'^logout/', 'do_logout', name="kompomaatti-logout"),
)

@@ -318,24 +318,254 @@
 ti-compo%22),%0A
+    url(r'%5Ecompo/(?P%3Ccompo_id%3E%5Cd+)/edit/(?P%3Centry_id%3E%5Cd+)/', 'compoentry_edit', name=%22kompomaatti-entry-edit%22),%0A    url(r'%5Ecompo/(?P%3Ccompo_id%3E%5Cd+)/delete/(?P%3Centry_id%3E%5Cd+)/', 'compoentry_delete', name=%22kompomaatti-entry-delete%22),%0A
     url(r'%5Ec
@@ -731,24 +731,155 @@
 petition%22),%0A
+    url(r'%5Ecompetition/(?P%3Ccompetition_id%3E%5Cd+)/signup_toggle/', 'competition_signup_toggle', name=%22kompomaatti-competition-sign%22),%0A
     url(r'%5Ep

Add some urls