Mercurial > agora-palash
view urls.py @ 4:069cabdaf8b2
Define stub template and admin site
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Fri, 25 Jun 2010 14:04:30 -0500 |
parents | 3cef0d445036 |
children | 6c2d400091fd |
line wrap: on
line source
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}), # Uncomment the admin/doc line below and add 'django.contrib.admindocs' # to INSTALLED_APPS to enable admin documentation: (r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: (r'^admin/', include(admin.site.urls)), # Example: # (r'^agora/', include('agora.foo.urls')), (r'^(?P<user>.*)/(?P<bundle>.*)/$', 'agora.apps.bundle.views.detail'), )