changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>{% block title %}{% endblock %} SciPy.in 2011, December 4 - 7, 2011, Mumbai, Maharashtra, India</title>
<link rel="stylesheet" type="text/css" href="/static/css/jquery.jgrowl.css" />
<link rel="stylesheet" type="text/css" href="/static/css/jquery-ui-lightness/jquery-ui-1.7.3.custom.css" />
<link rel="stylesheet" type="text/css" href="/static/css/styles-20100720.css" />
<script type="text/javascript" src="/static/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/static/jquery/jquery-ui-1.7.3.custom.min.js"></script>
<script type="text/javascript" src="/static/jquery/jquery.jgrowl_minimized.js"></script>
<script type="text/javascript" src="/static/jquery/jquery.cookie.pack.js"></script>
<script type="text/javascript" src="/static/js/kiwipycon.js"></script>
{% block addscripts %}{% endblock %}
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon" />
<!--<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feeds/blog" />-->
</head>
<body>
<div id="logo">
<a href="/"><img src="/static/img/scipyshiny_small.png"
alt="SciPy.in Logo" title="SciPy.in Logo"
width="139" height="130" /></a>
<div id="social-badge">
<a href="http://twitter.com/scipydotin" target="_blank"><img src="/static/img/twitter.png" alt="Twitter" Title="Connect to us of Twitter" /></a>
<a href="http://facebook.com/scipydotin" target="_blank"><img src="/static/img/facebook.png" alt="Facebook" Title="Connect to us of Facebook" /></a>
</div>
</div>
<div id="header">
<h1>{% block header %}SciPy.in 2011</h1>
<h3>December 4 - 7, Mumbai, India{% endblock %}</h3>
{% include '_menu_user.html' %}
</div>
<div id="wrapper">
<div id="left">
{% include '_menu.html' %}
</div>
<div id="content">
{% if user.is_authenticated %}
{% include 'user/_usermenu.html' %}
{% endif %}
{% block content %}{% endblock %}
</div>
<div id="right">
{% include '_right_menu.html' %}
</div>
</div>
<div id="footer">
<p rel="credits">Content by the <a href="/about/team/" alt="SciPy.in Team">SciPy.in Team</a>,
website by <a href="http://hg.fossee.in/scipycon/file/tip/AUTHORS" alt="Website's Creators">FOSSEE using Kiwi Djangonauts original code</a>,
hosting by <a href="http://fossee.in/" alt="Free and Open Source software in Science and Engineering Education">Free and Open Source software in Science and Engineering Education</a>,
Rants, Bugs and Flames to: <a href="mailto:admin@scipy.in">admin@scipy.in</a>
</p>
</div>
</body>
</html>