title: how to extend to a lot of template along with its view function?
body: <p>What i am trying to do is that </p>
  
  <p>my base.html to have a Cart.html that extends to it</p>
  
  <p>while other child html can extend to base.html and have the Cart.html available in the base.html</p>
  
  <p>something like this</p>
  
  <p>Catalogue.html----> base.html with Cart.html</p>
  
  <p>Catagories.html------^</p>
  
  <p>i tried include in base.html,  the form and button did appear</p>
  
  <p>but it doesn't pass the class and function from the Cart.html</p>
  
  <pre><code>class CartFormView(generic.ListView, ModelFormMixin):
      template_name = 'Shop/Cart.html'
      def get(self, request, *args, **kwargs):
          #bla bla bla
  
      def post(self, request, *args, **kwargs):
          #bla bla bla
  </code></pre>
  
  <p>tried double extending but it is not allowed in Cart.html</p>
  
  <pre><code>{% extends 'Shop/Catalogue.html', 'Shop/Catagories.html' %}
  </code></pre>
  
  <h1>or</h1>
  
  <pre><code>{% extends 'Shop/Catalogue.html' %}
  {% extends 'Shop/Catagories.html' %}
  </code></pre>
  
  <p>Thanks</p>