diff 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 diff
--- a/urls.py	Wed Jun 16 23:18:41 2010 -0500
+++ b/urls.py	Thu Jun 24 08:59:14 2010 -0500
@@ -5,6 +5,8 @@
 admin.autodiscover()
 
 urlpatterns = patterns('',
+
+    (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}),
     # Example:
     # (r'^agora/', include('agora.foo.urls')),
 
@@ -14,4 +16,5 @@
 
     # Uncomment the next line to enable the admin:
     (r'^admin/', include(admin.site.urls)),
+    
 )