diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-22 00:19:06 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-22 00:19:06 -0800 |
commit | fde421c01eb374054d2e442808587810fdfed5ce (patch) | |
tree | 26254620307dac3cddd59dcaceab658e1b37ea59 /bn_django/git_wiki/urls.py | |
parent | c620485c01ca577980792b24e9e2fa8c7e5eed31 (diff) | |
download | bnewnet-fde421c01eb374054d2e442808587810fdfed5ce.tar.gz bnewnet-fde421c01eb374054d2e442808587810fdfed5ce.zip |
major git_wiki progress + fixed syncdb problems (model attributes missing)
Diffstat (limited to 'bn_django/git_wiki/urls.py')
-rw-r--r-- | bn_django/git_wiki/urls.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bn_django/git_wiki/urls.py b/bn_django/git_wiki/urls.py index d765aea..0cd2031 100644 --- a/bn_django/git_wiki/urls.py +++ b/bn_django/git_wiki/urls.py @@ -15,7 +15,9 @@ info_dict = { 'extra_context': { 'admin_url': ADMIN_URL, urlpatterns = patterns('bn_django.git_wiki.views', (r'^(?P<hash>[0-9a-z]{40})/$', 'olditem',), - (r'^(?P<req>.+)/$', 'item',), - (r'^(?P<req>.+)/log/$', 'item',), - (r'^(?P<req>.+)/edit/$', 'item',) + (r'^commit/(?P<hash>[0-9a-z]{40})/$', 'view_commit',), + (r'^(?P<reqslug>[\w\-\_\/]*)/log/$', 'tree',), + (r'^(?P<reqslug>[\w\-\_\/]*)/edit/$', 'tree',), + (r'^(?P<reqslug>[\w\-\_\/]*)/pdf/$', 'tree',), + (r'^(?P<reqslug>[\w\-\_\/]*)$', 'tree',), ) |