This is a wiki application for Mezzanine, a content management platform using the Django framework. Its features are:
- markdown syntax with [[Wiki links]] extension
- page history and diff viewing
Its current requirements are:
- mezzanine >= 4.0
- markdown
- diff-match-patch
Its former requirements are:
- south (now deprecated as of Django>=1.7)
Download or clone and run:
python setup.py install
Add "mezzanine_wiki" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'mezzanine_wiki', )
Run the following code to create the models:
python manage.py makemigrations mezzanine_wiki python manage.py migrate
Include the wiki URLconf in your project urls.py like this:
url(r'^wiki/', include('mezzanine_wiki.urls')),
Add "mezzanine_wiki.WikiPage" to SEARCH_MODEL_CHOICES setting like this:
SEARCH_MODEL_CHOICES = ('pages.Page', 'blog.BlogPost', 'mezzanine_wiki.WikiPage')
- Restart the server.
- At this stage, you can visit the /wiki/ url, but it will give you a "You don't have permission to add new wiki pages." It helps if you create a mock web page first (using the admin panel), and then visit /wiki/ to set up a default Main page.
- Finally, add a new Rich Text Page with the name "Wiki". This will add the wiki to the menu.