django-wiki
Wiki system with complex functionality for simple integration and a superb interface. Store your knowledge with style: Use django models.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
django-wiki is a wiki system built for the Django framework. Its official tagline describes it as feature-complete, simple to integrate, and nicely designed, with knowledge stored in Django models. It is a rewrite of the 2009 django-simplewiki project. The project's long-term goal is to become a wiki solution as mature as MediaWiki, so that Django developers who need a wiki don't have to leave the Django ecosystem.
The project is licensed under GPL-3.0 and has about 1.9k stars on GitHub. edX and MIT have provided financial and intellectual support for it.
Key Features
- Markdown editing: Content is written in Markdown, and the renderer is built into the core.
- Hierarchy and permission control: Articles are organized in a tree hierarchy, and the tree structure is built on django-mptt. Permissions can be set separately at each level, so a single installation can also serve as multiple wikis.
- Custom revision system: It does not rely on third-party libraries such as django-reversion. The revision history is implemented by the project itself, which makes it easier to optimize later.
- Plugin API: The core is kept lean, and optional features are implemented as plugins. The plugin API is already fairly stable.
- Notification system: You can try it by registering an account on the official demo site.
- Multilingual: Besides the default English, it is fully translated into 13 languages, and the translations are done collaboratively by the community on Transifex.
- Theme customization: The interface is based on Bootstrap. You can override templates, write custom template tags, or replace the entire theme with your own Bootstrap SCSS.
Design Philosophy
The project manifesto sets out several principles:
- Pluggable and lightweight: Optional features are kept out of the core.
- Open: It provides an extension API so that the plugin ecosystem can grow in an orderly way.
- Simple: The source code should be as self-explanatory as possible.
- Structured: Feature data is stored in the database in a structured way and managed through a friendly interface, rather than relying on complex markup syntax inside the content, which makes knowledge easier to reuse.
Target Users
- Developers who want to add wiki functionality to an existing Django website
- Teams or organizations that want to build their own knowledge base with the Python/Django stack
- Projects that need to deeply customize the wiki's behavior and appearance and extend its functionality through plugins
Installation and Deployment
- Install it from PyPI. The package name is
wiki(not django-wiki), and the command ispip install wiki. Version numbers follow SemVer. - After installation, configure it in your Django project. See the official documentation for the detailed steps: https://django-wiki.readthedocs.io/
- The community maintains a Docker image: https://github.com/riotkit-org/docker-django-wiki
- Live demo: https://demo.django-wiki.org (both the username and password are admin)
Technical Requirements
- Python + Django. Version 0.13.x supports Django 4.2, 5.0, 5.1, and 6.0. For older Django versions, you need to choose the corresponding older release; see the README for the version compatibility table.
- Customization requires some Django knowledge.
Notable Characteristics
- The official recommendation is to customize through plugins, templates, and SCSS rather than forking the repository and changing internal code. Otherwise, you will miss later feature updates and security fixes.
- All Python views are class-based views, but most customization needs don't require starting by overriding views and URLs.
- The project commits to not making changes that could cause data loss unless a solid upgrade path is provided. The model API has been stable for a long time.
- Community channels include GitHub Discussions, the IRC channel #django-wiki on Libera.Chat, and a Google mailing list.
Discover more
PmWiki
Wiki-based system for collaborative creation and maintenance of websites.
Wiki-Go
A modern, feature-rich, databaseless flat-file wiki platform built with Go.
Wikmd
Modern and simple file based wiki that uses Markdown and Git.
Zim
Graphical text editor used to maintain a collection of wiki pages. Each page can contain links to other pages, simple formatting and images.
AmuseWiki
Amusewiki is based on the Emacs Muse markup, remaining mostly compatible with the original implementation. It can work as a read-only site, as a moderated wiki, or as a fully open wiki or even as a private site.
Bitpoll
Conduct polls about dates, times or general questions.