mirror of
https://github.com/correl/codereview.git
synced 2024-12-25 19:25:37 +00:00
16 lines
568 B
Python
16 lines
568 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'),
|
|
# Diff view
|
|
(r'^(?P<repository>.*?)/diff/$',
|
|
'codereview.browser.views.diff'),
|
|
)
|