view urls.py @ 1:013cf0aa49b7

Implement basic mippets, stub templates
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Thu, 24 Jun 2010 08:59:14 -0500
parents 448f907a9d7e
children 3cef0d445036
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')),

    # 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)),
    
)