Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple knowledge base made with django

Project Description

Django KB

.. image::
:alt: Latest Version

.. image::
:alt: Supported Python versions

.. image::
:alt: Download format

.. image::

.. image::

Simple knowledge base made with django


#. Install or add ``django-kb`` to your Python path, i.e.:

.. code:: sh

$ pip install django-kb

#. Add ``kb`` to your ``INSTALLED_APPS`` setting.

#. Add kb url include to your project's ```` file with namespaece ``kb``::

(r'^', include('kb.urls', namespace='kb')),

#. Add ``kb.middleware.KnowledgeMiddleware`` to your ``MIDDLEWARE_CLASSES`` setting, i.e.::



Template Tags

Loading the tags, i.e.::

{% load kbtags %}

{% top_new_articles %}

Return the new published articles.

{% top_viewed_articles %}

Return the most viewed articles.

{% top_rated_articles %}

Return the most rated articles.

All this tags accept two optional parameters, ``num`` and ``category``.
``num`` is the number of the articles that will return, by default to 5.
``category`` can be a ``model`` or ``slug`` that will be used to filter the articles.

{% feedback %}

This is an inclusion tag which renders links to upvote or downvote the article.

To support AJAX you need to load jQuery and the ``feedback.js`` in your template, i.e.::

{% load staticfiles %}
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="{% static "kb/js/feedback.js" %}"></script>


Example of the app django-kb running on Openshift `here <>`_.

.. :changelog:


0.2.0 (2014-11-05)
* Add pagination in TagListView and CategoryDetailView.
* Improve admin options.

0.1.0 (2014-08-05)

* First release on PyPI.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(25.3 kB) Copy SHA256 Hash SHA256
Wheel 3.4 Aug 12, 2014
(15.3 kB) Copy SHA256 Hash SHA256
Source None Aug 12, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers