mirror of
https://github.com/correl/codereview.git
synced 2024-11-23 19:19:50 +00:00
12 lines
461 B
Python
12 lines
461 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>.*?)/view/(?P<ref>.*?)/$', 'codereview.browser.views.view'),
|
|
)
|