title: Trying to link Static j.s file with my html file in Django....but facing some issues
body: <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>TemplateSyntaxError at /studentUpdate/Invalid block tag on line 67: 'static', expected 'endblock'. Did you forget to register or load this tag?</p>
  </blockquote>
  
  <p><strong>Here is my Html file:-</strong></p>
  
  <pre><code>    {% extends 'app.html' %}
  
      {% block body %}
          &lt;div&gt;
  
  
              &lt;div class="alert alert-info"&gt;All Students&lt;/div&gt;
  
  
  
  
  
              &lt;button id="show_book" type="button"  class="btn btn-success"&gt; 
              &lt;span class="glyphicon glyphicon-circle-arrow-left"&gt;
              &lt;/span&gt; Back
              &lt;/button&gt;
  
  
         &lt;div id="edit_form"&gt;&lt;/div&gt;
  
              &lt;div id="book_form" &gt; 
                  &lt;div class="col-lg-3"&gt;&lt;/div&gt;
                  &lt;div class="col-lg-6"&gt;
  
                 &lt;!-- &lt;form id="form" &gt; --&gt;
  
                          {% csrf_token %}
  
                              &lt;div class="form-group"&gt;
                              &lt;label &gt;Student ID:&lt;/label&gt;
                              &lt;input type="text" id="sid" required="required" class="form-control"/&gt; 
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;First name:&lt;/label&gt;
                              &lt;input type="text" name="firstname" class="form-control"/&gt;
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Last name:&lt;/label&gt;
                              &lt;input type="text" name="lastname" class="form-control"/&gt;
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Department:&lt;/label&gt;
                              &lt;input type="text" name="department" class="form-control" required="required"/&gt;
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Section:&lt;/label&gt;
                              &lt;input type="text" name="section" class="form-control"/&gt;
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;label&gt;Year:&lt;/label&gt;
                              &lt;input type="text" name="year" class="form-control"/&gt;  
                          &lt;/div&gt;
                          &lt;div class="form-group"&gt;
                              &lt;button id="edit_book" type="submit" class="btn btn-primary" &gt;&lt;span
                                      class="glyphicon glyphicon-save"&gt;&lt;/span&gt;
                                  Update
  
                              &lt;/button&gt;
                          &lt;/div&gt;
                  &lt;!--    &lt;/form&gt;  --&gt;
                  &lt;/div&gt; 
                  &lt;/div&gt;
  
                  &lt;/div&gt;
  
              &lt;% load staticfiles %&gt;
              &lt;script type="text/javascript" src="{% static 'indexx.js' %}"&gt;       &lt;/script&gt;
      {% endblock %}
  </code></pre>
  
  <p><strong>Here is my indexx.js file is stored:-</strong>
  C:\Users\abhishek\OneDrive\Desktop\T.A Library MNGNT SYS\django-library-management-system-master\library\static\indexx.js</p>