title: Components in Django
body: <p>I have a latest news block on a page. It's a piece of markup in a template and some logic fetching the last <em>n</em> news in a view.
  How can I make a reusable component of it (like some CMS have) which I can include in a template like this:</p>
  
  <pre><code>{% component "latest_news" "5" %}
  </code></pre>
  
  <p>for building a block with 5 last news.</p>
  
  <p>Seems <a href="https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#inclusion-tags" rel="nofollow">Inclusion tags</a> is quite good for this purpose, but I wonder may be is there some build-in component-like feature in Django?</p>