from django.conf.urls.defaults import *
from django.conf import settings

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^sjeoahpa/', include('sjeoahpa.foo.urls')),
    (r'^sjeoahpa/i18n/', include('django.conf.urls.i18n')),
    (r'^sjeoahpa/media/(?P<path>.*)$', 'django.views.static.serve',
                        {'document_root': settings.MEDIA_ROOT}),
    (r'^sjeoahpa/$', 'sjeoahpa.sjedrill.views.sjeoahpa'),
    (r'^sjeoahpa/cmorfa/$', 'sjeoahpa.sjedrill.views.cmgame_n'),
    (r'^sjeoahpa/morfac/$', 'sjeoahpa.sjedrill.views.cmgame_n'),
    (r'^sjeoahpa/morfac_s/$', 'sjeoahpa.sjedrill.views.cmgame_n'),
    (r'^sjeoahpa/morfac_v/$', 'sjeoahpa.sjedrill.views.cmgame_v'),
    (r'^sjeoahpa/morfac_a/$', 'sjeoahpa.sjedrill.views.cmgame_a'),
    (r'^sjeoahpa/morfac_l/$', 'sjeoahpa.sjedrill.views.cmgame_l'),
    (r'^sjeoahpa/leksa/$', 'sjeoahpa.sjedrill.views.quizz'),
    (r'^sjeoahpa/leksa_n/$', 'sjeoahpa.sjedrill.views.quizz_n'),
    (r'^sjeoahpa/numra/$', 'sjeoahpa.sjedrill.views.num'),
    (r'^sjeoahpa/sjefeedback/$', 'sjeoahpa.sjefeedback.views.feedback'),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/(.*)', admin.site.root),
)
