Add the source to Javascript required to login users.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Tue, 18 Jan 2011 01:06:21 +0530
changeset 448 870235dbac86
parent 447 b7faad734d6f
child 449 50c45258b00e
Add the source to Javascript required to login users.
pytask/templates/base.html
--- a/pytask/templates/base.html	Tue Jan 18 01:05:42 2011 +0530
+++ b/pytask/templates/base.html	Tue Jan 18 01:06:21 2011 +0530
@@ -24,6 +24,12 @@
   <script type="text/javascript"
       src="/pytask/static/jquery/jquery-ui-1.8.8.custom.min.js">
   </script>
+  <script type="text/javascript"
+      src="/pytask/static/js/login.js">
+  </script>
+  <script type="text/javascript">
+    login_user("{% url auth_login %}");
+  </script>
   {% block js %}
   {% endblock %}
 </head>
@@ -52,7 +58,7 @@
         {% block rightsidebar %}
           {% comment %}Additional Right Sidebar elements go here{% endcomment %}
         {% endblock rightsidebar %}
-        {% include '_right_sidebar.html' %}
+        {% include "_right_sidebar.html" %}
       </div>
 
       <div class="clearer">