title: Django user is not authenticated when template is extended
body: <p>How to keep data_dictionary always in the template ? (Maybe not the right question) . <strong>User should always be authenticated</strong>
  Explained:
  This is the <strong>base template</strong> that is extended by all other templates. Its not possible to send data to base.html from all other templates so that if statement will work. The front end part can be understood by reading the base.html. All other templates of the app will be shown in the context and in the <strong>right side bar</strong> it ll be possible to see if the user in logging in or not an make some actions. BUT I cant get there. The only url that works is /loggedin. Do you have ideas how to make this plan work? Its something very simple but I cant get there with django.And i ve been told that there is no reason to use SESSIONS for user auth. Need Help. Plz be simple cause as you can see i am noob with Django and python. <strong>Thank you</strong>. </p>
  
  <p>base.html :</p>
  
  <pre><code>&lt;body&gt;
  &lt;div id="page"&gt;
  
  &lt;div id="sidebar"&gt;
      {% block sidebar %}
      &lt;ul&gt;
          &lt;li&gt;&lt;a href="/notes/all"&gt;Notes&lt;/a&gt;&lt;/li&gt;
  
      &lt;/ul&gt;
      {% endblock %}
  &lt;/div&gt;
  
  &lt;div id="rightsidebar"&gt;
      {% block rightsidebar %}
  
          {% if request.user.is_authenticated  %}
              Loggedin
          {% else %}
              Not Loggedin
          {% endif %}
  
  
      {% endblock %}
  &lt;/div&gt;
  
  &lt;div id="content"&gt;
      {% block content %}This is the content area{% endblock %}
  
  
  &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>Views.py:
  ....</p>
  
  <pre><code>def loggedin(request):
      my_data_dictionary = {}
      return render_to_response('base.html',
                            my_data_dictionary,
                            context_instance=RequestContext(request))
  </code></pre>
  
  <p>...</p>