from django.conf.urls.defaults import *

urlpatterns = patterns('phennyfyxata.scores.views',
        url(r'^$', 'goToWars'),
        url(r'^writers/(?P<nickname>.+)/overview/$', 'singleWriterOverview'),
        url('^writers/$', 'writersOverview'),
        url('^wars/$', 'warsOverview'),
        url('^wars/(?P<war_id>\d+)/overview/$', 'singleWarOverview'),
        url('^api/score/register/$', 'registerScore'),
        url('^api/score/deregister/$', 'deregisterScore'),
        url('^api/war/new/$', 'createWar'),
        url('^api/war/info/$', 'singleWarInfo'),
        url('^api/war/active/$', 'activeWars'),
        url('^api/war/planned/$', 'plannedWars'),
        url('^api/war/withdraw/$', 'withdrawWar'),
        url('^api/war/participate/$', 'participateWar'),
        url('^api/war/listparticipants/$', 'listWarParticipants'),
        url('^api/writer/getscore/$', 'getParticipantScoreForWar'),
        url('^documentation/$', 'documentation'),
        url('^documentation/nl/$', 'documentationDutch'),
        url('^language/$', 'language'),
    )
