codereview/browser/urls.py

6 lines
241 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^(?P<repository>.*?)/log/(?P<path>(.*?/)+)?$', 'codereview.browser.views.log'),
(r'^(?P<repository>.*?)/view/(?P<ref>.*?)/$', 'codereview.browser.views.view'),
)