summaryrefslogtreecommitdiff
path: root/pgcommitfest/urls.py
diff options
context:
space:
mode:
authorMagnus Hagander2013-07-19 12:55:56 +0000
committerMagnus Hagander2013-07-19 12:55:56 +0000
commit3a0dcbdbff5d1dbdef75eee000075c67c27f2915 (patch)
tree99cab09d9038dcd5ff72522771005144a151972e /pgcommitfest/urls.py
Really need to get this into git, so I can do some hacking.
May very well do a complete rebase later to get rid of history
Diffstat (limited to 'pgcommitfest/urls.py')
-rw-r--r--pgcommitfest/urls.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/pgcommitfest/urls.py b/pgcommitfest/urls.py
new file mode 100644
index 0000000..3be957a
--- /dev/null
+++ b/pgcommitfest/urls.py
@@ -0,0 +1,30 @@
+from django.conf.urls.defaults import patterns, include, url
+from django.contrib import admin
+
+# Uncomment the next two lines to enable the admin:
+# from django.contrib import admin
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ url(r'^$', 'commitfest.views.home'),
+ url(r'^(\d+)/$', 'commitfest.views.commitfest'),
+ url(r'^(\d+)/(\d+)/$', 'commitfest.views.patch'),
+ url(r'^(\d+)/(\d+|new)/edit/$', 'commitfest.views.patchform'),
+ url(r'^(\d+)/(\d+)/status/(review|author|committer)/$', 'commitfest.views.status'),
+ url(r'^(\d+)/(\d+)/close/(reject|feedback|committed)/$', 'commitfest.views.close'),
+ url(r'^(\d+)/(\d+)/reviewer/(become|remove)/$', 'commitfest.views.reviewer'),
+ url(r'^(\d+)/(\d+)/(comment|review)/', 'commitfest.views.comment'),
+ url(r'^ajax/(\w+)/$', 'commitfest.ajax.main'),
+
+ url(r'^selectable/', include('selectable.urls')),
+
+ # Examples:
+ # url(r'^$', 'pgcommitfest.views.home', name='home'),
+ # url(r'^pgcommitfest/', include('pgcommitfest.foo.urls')),
+
+ # 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)),
+)