mirror of
https://github.com/correl/codereview.git
synced 2024-11-24 03:00:07 +00:00
13 lines
473 B
Python
13 lines
473 B
Python
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('',
|
|
# Root log
|
|
(r'^(?P<repository>.*?)/log/$', 'codereview.browser.views.log'),
|
|
# File (Blob) view
|
|
(r'^(?P<repository>.*?)/blob/(?P<path>.*?)$', 'codereview.browser.views.blob'),
|
|
# Path log
|
|
(r'^(?P<repository>.*?)/log/(?P<path>.*?)/$', 'codereview.browser.views.log'),
|
|
# Commit view
|
|
(r'^(?P<repository>.*?)/commit/(?P<ref>.*?)/$',
|
|
'codereview.browser.views.commit'),
|
|
)
|