Mercurial > agora
view urls.py @ 2:3cef0d445036
Start actual app structure
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Fri, 25 Jun 2010 10:03:51 -0500 |
parents | 013cf0aa49b7 |
children | 069cabdaf8b2 |
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'}), # Example: # (r'^agora/', include('agora.foo.urls')), #(r'^mippets/$', 'agora.mippet.views.index'), #(r'^mippets/(?P<name>.*)/$', 'agora.mippet.views.detail'), # 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)), )