Mercurial > agora
view apps/bundle/urls.py @ 166:a05e547449de
Oops, move 'from __future__ import' statement to top of the file
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 17 Oct 2012 10:30:26 -0400 |
parents | c7be7def8b57 |
children | 86129d185ddb |
line wrap: on
line source
from django.conf.urls.defaults import * urlpatterns = patterns('apps.bundle.views', url(r'^(?P<user>[^/]+)/(?P<bundle>[^/]+)/(?P<path>.+)/$', 'file_detail', name='bundlefile_details'), url(r'^(?P<user>.*)/(?P<bundle>.*)/$', 'detail', name='bundle_details'), url(r'^$', 'index', name='bundle_new'), url(r'^explore$', 'explore', name='bundle_explore'), )