title: django jquery ready event not firing
body: <p>I have a django project, but for some reason basic jquery isn't working.</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;link href="/site_media/css/poll.css" rel="stylesheet" type="text/css"&gt;
          &lt;script type="text/javascript" src="/site_media/js/jquery-1.3.2.js" /&gt;
          &lt;script type="text/javascript"&gt;
                  $(document).ready(function(){
                      alert('hi there');
                  });
          &lt;/script&gt;
      &lt;/head&gt;
  </code></pre>
  
  <p>etc...</p>
  
  <p>For some reason the ready event isn't firing.  The jquery and css are both definitely present (firebug confirms that for me).  There are no javascript errors on the page.  </p>
  
  <p>Am I missing something totally obvious, or is there something subtle in Django that requires configuration to allow jQuery to work with it.</p>
  
  <p><strong>EDIT</strong>:In fact, no javascript works after importing jquery!  Adding a </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;alert("hi");&lt;/script&gt;
  </code></pre>
  
  <p>works if placed before the jquery import, but not after.</p>