from django.conf.urls.defaults import * urlpatterns = patterns('', # Root log (r'^(?P.*?)/log/$', 'codereview.browser.views.log'), # File (Blob) view (r'^(?P.*?)/blob/(?P.*?)$', 'codereview.browser.views.blob'), # Path log (r'^(?P.*?)/log/(?P.*?)/$', 'codereview.browser.views.log'), # Commit view (r'^(?P.*?)/commit/(?P.*?)/$', 'codereview.browser.views.commit'), # Diff view (r'^(?P.*?)/diff/$', 'codereview.browser.views.diff'), )