Django wiki redux, maintained by Code Black

django, wiki, markdown
pip install wiki-cb==



Important notice

Version 0.0.24 is now out and is the final release before 0.1 in which migrations will be reset.

0.0.24 adds Django 1.7 support, however it's not well-tested.

Please refer to the Release Notes

Changes underway

  • Migrations reset
  • Django 1.7 support
  • pep8 the whole codebase #287
  • Transifex
  • Distribution with Wheels


News: January 26th, 2015

After too long, the new release is out.

The wait was mainly due to all the confusing changes by adding support of Python 3 and readying the migrations for Django 1.7. But there's actually new features, too.

  • Bootstrap 3.3.1 and Font Awesome 4 (Christian Duvholt)
  • django_nyt instead of builtin django_notify (Benjamin Bach, Maximilien Cuony)
  • tox for testing (Luke Plant)
  • Appropriate use of gettext_lazy (Jaakko Luttinen)
  • Fixed support of custom username fields (Jan De Bleser)
  • Several fixes to the attachment plugin (Christian Duvholt)
  • Errors on notifications settings tab (Benjamin Richter)
  • Chinese translations (Ronald Bai)
  • Finish translations (Jaakko Luttinen)
  • Compatibility with custom user model in article settings (Andy Fang)
  • Fixed bug when [attachment:XX] present multiple times on same line (Maximilien Cuony)
  • Simple mediawiki import management command (Maximilien Cuony)
  • Python 3 and Django 1.6 compatibility (Russell-Jones, Antonin Lenfant, Luke Plant, Lubimov Igor, Benjamin Bach)
  • (and more, forgiveness asked if anyone feels left out)

News: July 19th, 2014

Python 3 and django 1.7 compatibility is being worked on simultaneously in the django1.7 branch. The plan is to have Python 2.6.5+, 3.2+ and Django 1.5-1.7 compatibility in the same release.

Furthermore, django_notify will leave the distribution and be replaced by a dependency of django-nyt.

The work is a bit tedious because of refactoring, having cross-compatibility for many Python and Django versions simultaneously, and having both South and django.db.migrations compatibility. But we'll get it fixed!! :)

News: May 18th, 2014

Django-wiki 0.1 is landing, please see the Release Notes.

The overall plan is that we'll be supporting Python 2.7, Python 3.3+, and Django 1.5+ simultaneuously. That actually means a lot under the hood. Firstly, South is both unnecessary and incompatible with Django 1.7 as the new django.db.migrations framework has arrived. Secondly, we still need South migrations for Django installations before 1.7 (and those are still plenty).

Another big thing in 0.1 is the plugins API which is now freezing as is. This means that proper documentation for writing plugins will arrive soon.

If you want to upgrade a system running django-wiki < 0.1, please make sure to have an installation of 0.0.24 first and do the migrations in that one! Otherwise 0.1 will not work. Migration trees in 0.1 are reset and most likely, the same thing will happen in 0.2, each minor number denoting that migrations trees are squashed.

News: November 18th, 2013

Better late than never! A new release is out with promising support of django 1.6 and Bootstrap 3. Also, jquery, colorbox, and markitup editor have been bumped to newer releases.

A big callout to anyone who feels like getting into documentation.. we need good docs!

Also, the Changelog is updated!


A demo is available here, sign up for an account to see the notification system.


Please use our IRC or mailing list (google group) for getting in touch on development and support. Please do not email developers asking for personal support.


Currently, the model API is subject to smaller changes, and the plugin API seems pretty stable.

South is used so no database changes will cause data loss. In order to customize the wiki, best idea is to override templates and create your own template tags. Do not make your own hard copy of this repository in order to fiddle with internal parts of the wiki -- this strategy will lead you to loose out on future updates with highly improved features and plugins. Possibly security updates as well!

The release cycle has already begun, so you can administer django-wiki through Pypi and pip.

All views are class-based, however don't take it as an encouragement to extend them, unless you are prepared to modify both templates and view classes every time there is an update.


TODO contains an overview of features planned or under development.

Consider any moment in life that you could have been writing unit tests for django-wiki.

The easiest way to add features is to write a plugin. Please create an issue to discuss whether your plugin idea is a core plugin (wiki.plugins.*) or external plugin. If there are additions needed to the plugin API, we can discuss that as well!

To run the tests, run "python" after installing the requirements. Better, install "tox" (using "pip install tox") and then just run "tox" to run the test suite on multiple environments.

To run specific tests, call with the arguments that you would pass to the normal " test" command.


Django needs a mature wiki system appealing to all kinds of needs, both big and small:

  • Be pluggable and light-weight. Don't integrate optional features in the core.
  • Be open. Make an extension API that allows the ecology of the wiki to grow. After all, Wikipedia consists of some 680 extensions written for MediaWiki.
  • Be smart. This is the map of tables in MediaWiki - we'll understand the choices of other wiki projects and make our own. After-all, this is a Django project.
  • Be simple. The source code should almost explain itself.
  • Be structured. Markdown is a simple syntax for readability. Features should be implemented either through easy coding patterns in the content field, but rather stored in a structured way (in the database) and managed through a friendly interface. This gives control back to the website developer, and makes knowledge more usable. Just ask: Why has Wikipedia never changed? Answer: Because it's knowledge is stored in a complicated way, thus it becomes very static.


See the docs/ folder, or read them at:

If you wish to add something, please ask in the google group or raise an issue if you're in doubt about whether something might change.


Django-wiki is a rewrite of django-simplewiki, a project from 2009 that aimed to be a base system for a wiki. It proposed that the user should customize the wiki by overwriting templates, but soon learned that the only customization that really took place was that people forked the entire project. We don't want that for django-wiki, we want it to be modular and extendable.

As of now, Django has existed for too long without a proper wiki application. The dream of django-wiki is to become a contestant alongside Mediawiki, so that Django developers can stick to the Django platform even when facing tough challenges such as implementing a wiki.


This project will be very open for enrolling anyone with a good idea. As of now, however, it's a bit closed while we get the foundation laid out.


  • Why is the module named just "wiki"? Because "pip install wiki" returns "No distributions at all found for wiki"! :)
  • What markup language will you use? Markdown. The markup renderer is not a pluggable part but has been internalized into core parts. Discussion should go here:
  • Why not use django-reversion? It's a great project, but if the wiki has to grow ambitious, someone will have to optimize its behavior, and using a third-party application for something as crucial as the revision system is a no-go in this regard.
  • Any support for multiple wikis? Yes, in an sense you can just imagine that you always have multiple wikis, because you always have hierarchies and full control of their permissions. See this discussion:


So far the dependencies/requirements are:


The folder testproject/ contains a pre-configured django project and an sqlite database. Login for django admin is admin:admin. This project should always be maintained, but please do not commit changes to the SQLite database as we only care about its contents in case data models are changed.


Badgers Badgers Badgers

Build Status

Coverage Status



Documentation Status

Dependency Status

Bitdeli Badge