codereview/review/urls.py

6 lines
182 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^(?P<review_id>\d+)/$', 'codereview.review.views.edit'),
(r'^new/$', 'codereview.review.views.new'),
)