title: django bootstrap dropdown not working
body: <p>I am building website based in django. I am using bootstrap dropdown in navbar to collapse navbar on low resolution i.e. mobile view, but on clicking button navbar not getting dropdown.</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
  
  &lt;nav id="main-menu" class="navbar" role="navigation"&gt;
          &lt;div class="navbar-header"&gt;
              &lt;button type="button" class="btn btn-navbar navbar-toggle" data-toggle="collapse"
                      data-target=".navbar-cat-collapse"&gt;
                  &lt;span class="sr-only"&gt;Toggle Navigation&lt;/span&gt;
                  &lt;i class="fa fa-bars"&gt;&lt;/i&gt;
              &lt;/button&gt;
          &lt;/div&gt;
          &lt;div class="collapse navbar-collapse navbar-cat-collapse"&gt;
              &lt;ul class="nav navbar-nav"&gt;
                  &lt;li&gt;&lt;a href="{% url 'home_page' %}"&gt;Home&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Pages&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="{% url 'contact_page' %}"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/nav&gt;
  </code></pre>