# HG changeset patch # User anoop # Date 1275745720 -19800 # Node ID a3e6f9470549ad57bbb680ef64561e20ffb69e2d # Parent 5accdb88150740e206bf645efe0c1d753b02f86c made some changes to links and added accomodation page. diff -r 5accdb881507 -r a3e6f9470549 sdi/views.py --- a/sdi/views.py Sat Jun 05 19:09:06 2010 +0530 +++ b/sdi/views.py Sat Jun 05 19:18:40 2010 +0530 @@ -90,3 +90,6 @@ def about(request): return render_to_response("about.html") + +def accomodation(request): + return render_to_response("accomodation.html") diff -r 5accdb881507 -r a3e6f9470549 templates/accomodation.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/accomodation.html Sat Jun 05 19:18:40 2010 +0530 @@ -0,0 +1,8 @@ +{% extends 'base.html' %} +{% block title %} +Accommodation for delegates +{% endblock %} +{% block content %} +

Accommodation for delegates

+

We will be providing limited accomodation. For further details please check the page later.

+{% endblock %} diff -r 5accdb881507 -r a3e6f9470549 templates/base.html --- a/templates/base.html Sat Jun 05 19:09:06 2010 +0530 +++ b/templates/base.html Sat Jun 05 19:18:40 2010 +0530 @@ -895,8 +895,8 @@ title="Accomodation">Accomodation
  • Venue
  • -
  • Reaching the Venue
  • + + diff -r 5accdb881507 -r a3e6f9470549 urls.py --- a/urls.py Sat Jun 05 19:09:06 2010 +0530 +++ b/urls.py Sat Jun 05 19:18:40 2010 +0530 @@ -4,7 +4,7 @@ from django.contrib import admin admin.autodiscover() -from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about +from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about, accomodation from sage_days.settings import APACHE_URL_PREFIX as aup urlpatterns = patterns('', @@ -23,6 +23,7 @@ (r'^venue/',venue), (r'^contact/',contact), (r'^about/',about), + (r'^accomodation/',accomodation), (r'^registration/', include('sage_days.sdi.site.urls')), (r'^captcha/', include('captcha.urls')), )