Skip to content
This repository

A wiki system with complex functionality for simple integration and a superb interface. Store your knowledge with style: Use django models.

Octocat-spinner-32 .travis Replace PIL with Pillow
Octocat-spinner-32 django_notify README updated
Octocat-spinner-32 docs Update installation.rst
Octocat-spinner-32 testproject Update
Octocat-spinner-32 wiki Merged wiki.compat into wiki.core.compat
Octocat-spinner-32 .gitignore Add PyCharm ignores
Octocat-spinner-32 .travis.yml travis-ci uses the branch committed to, reverted.
Octocat-spinner-32 add rtd conf env
Octocat-spinner-32 notes on pull requests
Octocat-spinner-32 COPYING Add better info about licensing
Octocat-spinner-32 MANIFEST include font files in MANIFEST
Octocat-spinner-32 modify build to clean up old egg dir and add back the sym…
Octocat-spinner-32 README More modifications for pypi, first 0.0.1 released - pip install wiki
Octocat-spinner-32 Added tox.ini and instructions, for easy running of tests in multiple…
Octocat-spinner-32 Todo and readme updates
Octocat-spinner-32 Upgrade to Bootstrap 3 RC1, add font-awesome, lots of refactoring
Octocat-spinner-32 do not build docs in build-sdist, it's not needed
Octocat-spinner-32 script to migrate south migrations to a custom auth user model (has a…
Octocat-spinner-32 model_chart_wiki.pdf add model chart in pdf to the build-sdist process
Octocat-spinner-32 requirements.txt Change requirements to use Pillow instead of PIL
Octocat-spinner-32 Added method to allow selected tests to be run, instead of running all.
Octocat-spinner-32 setup.cfg Automatically generate README.rst for PyPi
Octocat-spinner-32 Executable scripts '' and ''
Octocat-spinner-32 tox.ini Added tox.ini and instructions, for easy running of tests in multiple…



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!

News: June 31st, 2013

Bootstrap 3 has landed in the django-wiki master branch! However, a new release is pending the full implementation of Bootstrap 3. If you are running a deployment with template overrides, keep in mind that some Bootstrap stuff has changed, especially fluid grids and names of a lot of classes. For instance, if you have put your own "brand" in the navbar, you need to change class="brand" to class="navbar-brand".

Furthermore, we have changed the icon theme to use Font Awesome. There are now many more icons to choose from, and most of the UI is likely to benefit from this.

The plugin API has been looking very stable lately, and one or two refactorings made it possible to much easier deal with circular dependencies which were greatly reducing the plugin writing experience.

Haystack is now supported through a plugin. But keep in mind that many things are broken in Haystack atm -- the Whoosh backend for instance.

Last, but not least, we have an IRC channel - #django-wiki on freenode. Please hangout and share support and tips!

News: June 7th, 2013

Yay! New alpha release! View commit log on Github > or a summary of all the commits


  • Fix missing translation activation in django-notify's email notifications (manage command) - credits TomLottermann
  • Add Russian on django-wiki and django-notify - credits crazyzubr
  • Support for AUTH_USER_MODEL settings (seriously, don't use it though, unless you really want trouble in most third party django apps). Please note this is only going to help you if you are starting new projects. If you are changing the setting and introducing a new model in a running project, you have to do all database migrations manually. Django-wiki and its South migrations will silently ignore your changes.
  • Add settings for logging to files instead of stdout in django-notify daemon mode - credits: crazyzubr
  • Built-in account handling now properly asserts that usernames are not already taken when signing up.

News: April 23rd, 2013

Security fix included in 0.0.19. View commit log >

News: March 26, 2013

Thanks to TomLottermann for German translation and daltonmatos for Brazilian translations! French is also reported in the works. 0.0.18 is released with that plus Django 1.5 compatibility, and a bunch of other things and fixes.

News: February 21, 2013

New release adds email notifications to django_notify, improved [toc] tag and bootstrap typography.

News: February 8, 2013

New alpha release 0.0.15 is out mainly because static files and templates in the previous two builds were not being properly updated and included. It also includes various tiny cosmetic changes and a new LESS structure.

(old news are deleted)


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 are:


In your Git fork, run pip install -r requirements.txt to install the requirements.

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.

Build Status



Python 2.5

It's compatible and being run on a server with Python 2.5.

Due to Markdown using elementree, you should check that you have python-celementtree: apt-get install python-celementtree


  • The people at edX & MIT for finding and supporting the project both financially and with ideas.
  • django-cms for venturing where no django app has gone before in terms of well-planned features and high standards. It's a very big inspiration.
  • django-mptt, a wonderful utility for inexpensively using tree structures in Django with a relational database backend.
  • jdcaballero, yekibud, bridger, TomLottermann, crazyzubr, and everyone else involved!
Something went wrong with that request. Please try again.