Source

haditbefore / urls.py

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

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

handler500 = 'djangotoolbox.errorviews.server_error'

urlpatterns = patterns('',
    ('^_ah/warmup$', 'djangoappengine.views.warmup'),

    (r'^_ah/xmpp/message/chat/', 'haditbefore.services.handle_message'),

    (r'^_ah/xmpp/presence/available/', 'haditbefore.services.handle_available'),


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

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),

    url(r'^setup/$', 'haditbefore.views.create_first_user'),

    url(r'^problem/(?P<problem_id>\d+)/$', 'haditbefore.views.view_problem'),

    url(r'^$', 'haditbefore.views.home',)
)