django template content not showing up <p>In my views i have pointed my code to login.html >But the alert in the ready function or the content so f the body are not seen on the UI.What am i doing wrong here</p> <pre><code> {% extends "base/base.html" %} &lt;script&gt; $(document).ready(function() { alert('1'); }); &lt;/script&gt; some code here some code here some code here some code here some code here some code here &lt;b&gt;{{response_dict.yes}} testing and testing and testinf&lt;/b&gt; &lt;b&gt;{{a}}&lt;/b&gt; &lt;form action="/logon/" method="post" name="myform"&gt; {% csrf_token %} &lt;b&gt;Username&lt;/b&gt;&lt;input type="text" name="username" id="username"&gt;&lt;/input&gt; &lt;br&gt;&lt;b&gt;Password&lt;/b&gt;&lt;input type="password" name="password" id="password"&gt;&lt;/input&gt; &lt;b&gt;&lt;/b&gt;&lt;input type="submit" value="Submit"&gt;&lt;/input&gt; &lt;img src="/media/img/hi.png" alt="Hi!" /&gt; &lt;!-- This is working dude --&gt; &lt;img alt="Hi!" src="/opt/labs/lab_site/media/img/hi.png"&gt; &lt;/form&gt; </code></pre>