From 864552efcb99f0975caf5e460913fd2a4bbc8615 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Thu, 5 Nov 2009 14:19:47 +0530 Subject: Added home page in urls.py and its template. Also added important dates. --- project/templates/_sponsors.html | 29 +++++++++++++++++++---------- project/urls.py | 4 +++- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/project/templates/_sponsors.html b/project/templates/_sponsors.html index 1f2b0ce..68c6190 100644 --- a/project/templates/_sponsors.html +++ b/project/templates/_sponsors.html @@ -1,14 +1,23 @@
+

Important dates

+

+

Organizers

-

+
diff --git a/project/urls.py b/project/urls.py index 7459181..328e976 100644 --- a/project/urls.py +++ b/project/urls.py @@ -18,7 +18,9 @@ admin.autodiscover() # Blog & Admin urlpatterns = patterns( '', - (r'', include('basic.blog.urls')), + url(r'', + direct_to_template, {"template": "home.html"}, + name='home'), (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), (r'^comments/', include('django.contrib.comments.urls')), (r'^admin/(.*)', admin.site.root), -- cgit