All Projects → eliostvs → django-kb

eliostvs / django-kb

Licence: BSD-3-Clause license
Simple knowledge base made with django

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to django-kb

go-monitor
a simple and extensible way to build monitorizable go process via HTTP.
Stars: ✭ 33 (+120%)
Mutual labels:  abandoned
valgrind
DEPRECATED - git-svn copy of the valgrind subversion repo. Firefox OS specific patches applied in "fxos" branch.
Stars: ✭ 22 (+46.67%)
Mutual labels:  abandoned
twig-translation
A Twig Translation Extension
Stars: ✭ 15 (+0%)
Mutual labels:  abandoned
addon-sdk
DEPRECATED - The Add-on SDK repository.
Stars: ✭ 643 (+4186.67%)
Mutual labels:  abandoned
webping
🚦 Python script to monitor web pages.
Stars: ✭ 20 (+33.33%)
Mutual labels:  abandoned
pytoxcore
Python binding for ToxCore
Stars: ✭ 37 (+146.67%)
Mutual labels:  abandoned
vmw.vco
Python bindings for VMware Orchestrator
Stars: ✭ 13 (-13.33%)
Mutual labels:  abandoned
i2c-tools
DEPRECATED - git conversion of http://lm-sensors.org/svn/i2c-tools subversion repo.
Stars: ✭ 34 (+126.67%)
Mutual labels:  abandoned
B2GOS-community
DEPRECATED - Tasks management for the B2G OS working groups
Stars: ✭ 11 (-26.67%)
Mutual labels:  abandoned
MuscleBook
[ABANDONED] Muscle Book is an iOS workout tracker for strength training and body building.
Stars: ✭ 36 (+140%)
Mutual labels:  abandoned
fxtest-jenkins-pipeline
DEPRECATED
Stars: ✭ 39 (+160%)
Mutual labels:  abandoned
goga
A fully RESTful API from any existing PostgreSQL database written in Rust
Stars: ✭ 17 (+13.33%)
Mutual labels:  abandoned
mozilla-download
DEPRECATED - Download firefox / b2g-desktop / mulet
Stars: ✭ 15 (+0%)
Mutual labels:  abandoned
firefoxos-loop-client
DEPRECATED - Firefox OS client for the Loop service
Stars: ✭ 27 (+80%)
Mutual labels:  abandoned
socialapi-dev
DEPRECATED - Experimental support for a Social API in Firefox
Stars: ✭ 41 (+173.33%)
Mutual labels:  abandoned
npm-mirror
DEPRECATED - A utility for mirroring a subset of npm packages from another npm registry
Stars: ✭ 38 (+153.33%)
Mutual labels:  abandoned
markup
DEPRECATED - This projects has been retired.
Stars: ✭ 25 (+66.67%)
Mutual labels:  abandoned
b2g-installer
DEPRECATED - Tools to easily flash b2g on your android phone
Stars: ✭ 27 (+80%)
Mutual labels:  abandoned
IconFamily
Troy Stephens's Cocoa/Objective-C wrapper for Mac OS X Icon Services’ “IconFamily” data type. Its main purpose is to enable Cocoa applications to easily assign custom file icons from NSImage instances.
Stars: ✭ 21 (+40%)
Mutual labels:  abandoned
lumbergh
DEPRECATED - Whaaaat's happening? Careers website... Mmmkay?
Stars: ✭ 19 (+26.67%)
Mutual labels:  abandoned

Django KB

Latest Version Supported Python versions Download format https://travis-ci.org/eliostvs/django-kb.png?branch=master https://coveralls.io/repos/eliostvs/django-kb/badge.png?branch=master

Simple knowledge base made with django

Installation

  1. Install or add django-kb to your Python path, i.e.:
$ pip install django-kb
  1. Add kb to your INSTALLED_APPS setting.

  2. Add kb url include to your project's urls.py file with namespaece kb:

    (r'^', include('kb.urls', namespace='kb')),
    
  3. Add kb.middleware.KnowledgeMiddleware to your MIDDLEWARE_CLASSES setting, i.e.:

    MIDDLEWARE_CLASSES = (
        ...
        "kb.middleware.KnowledgeMiddleware",
    )
    

Usage

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="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="{% static "kb/js/feedback.js" %}"></script>

Example

Example of the app django-kb running on Openshift here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].