From 3d203c153301d4dd9c3285e7dea86ee09eb3b0c5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 20 Feb 2007 02:21:25 -0800 Subject: mid-progress, work on git-browser fan is dying, more work to do though! TODO: seperate style for git_browser, use "block.super" --- bn_django/git_browse/urls.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'bn_django/git_browse/urls.py') diff --git a/bn_django/git_browse/urls.py b/bn_django/git_browse/urls.py index 909bfcd..77fabd3 100644 --- a/bn_django/git_browse/urls.py +++ b/bn_django/git_browse/urls.py @@ -32,10 +32,17 @@ urlpatterns = patterns('django.views.generic.list_detail', urlpatterns += patterns('bn_django.git_browse.views', (r'^(?P[\w\-\_]*)/$', 'repo_info',), - (r'^(?P[\w\-\_]*)/tree/$', 'view_tree',), (r'^(?P[\w\-\_]*)/branches/$', 'view_branches',), - (r'^(?P[\w\-\_]*)/history/$', 'view_history',), (r'^(?P[\w\-\_]*)/log/$', 'view_log',), (r'^(?P[\w\-\_]*)/obj/(?P[0-9a-z]{40})/$', 'view_obj',), + (r'^(?P[\w\-\_]*)/obj/(?P[0-9a-z]{40})/log/$', 'view_log',), + (r'^(?P[\w\-\_]*)/commit/(?P[0-9a-z]{40})/$', 'view_commit',), + (r'^(?P[\w\-\_]*)/commit/$', 'view_commit',), + (r'^(?P[\w\-\_]*)/tag/(?P[0-9a-z]{40})/$', 'view_tag',), + (r'^(?P[\w\-\_]*)/blob/(?P[0-9a-z]{40})/$', 'view_blob',), + (r'^(?P[\w\-\_]*)/blob/(?P[0-9a-z]{40})/raw/$', 'view_blob',), + (r'^(?P[\w\-\_]*)/tree/$', 'view_tree',), (r'^(?P[\w\-\_]*)/tree/(?P[0-9a-z]{40})/$', 'view_tree',), + (r'^(?P[\w\-\_]*)/tree/(?P[0-9a-z]{40})/gz/$', 'view_tree',), + (r'^(?P[\w\-\_]*)/tree/(?P[0-9a-z]{40})/tar/$', 'view_tree',), ) -- cgit v1.2.3