From a1f72ac87a18fe1fcc0cf1a2eb8d69d89ba606df Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 21 Feb 2007 01:21:23 -0800 Subject: put in temp fix for head and tag views TODO: filter diff and raw blob output correctly (wrap and escape) --- bn_django/git_browse/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bn_django/git_browse') diff --git a/bn_django/git_browse/urls.py b/bn_django/git_browse/urls.py index a0c31fe..4c88b99 100644 --- a/bn_django/git_browse/urls.py +++ b/bn_django/git_browse/urls.py @@ -35,8 +35,9 @@ urlpatterns += patterns('bn_django.git_browse.views', (r'^(?P[\w\-\_]*)/obj/(?P[0-9a-z]{40})/$', 'view_obj',), (r'^(?P[\w\-\_]*)/commit/(?P[0-9a-z]{40})/$', 'view_commit',), (r'^(?P[\w\-\_]*)/commit/$', 'view_commit',), - (r'^(?P[\w\-\_]*)/tag/(?P[\w\-\_]+)/$', 'view_tag',), - (r'^(?P[\w\-\_]*)/head/(?P[\w\-\_]+)/$', 'view_head',), + #TODO: head and tag views + (r'^(?P[\w\-\_]*)/tag/(?P[\w\-\_]+)/$', 'view_commit',), + (r'^(?P[\w\-\_]*)/head/(?P[\w\-\_]+)/$', 'view_commit',), (r'^(?P[\w\-\_]*)/blob/(?P[0-9a-z]{40})/$', 'view_blob',), (r'^(?P[\w\-\_]*)/tree/$', 'view_tree',), (r'^(?P[\w\-\_]*)/tree/(?P[0-9a-z]{40})/$', 'view_tree',), -- cgit v1.2.3