Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.55 KB

README.rst

File metadata and controls

51 lines (34 loc) · 1.55 KB

django-wiki

Super simple pluggable wiki application for Django.

Authors

John Sutherland (https://github.com/sneeu)

Taylor Mitchell (https://github.com/tmitchell)

Basic Usage

For the default URL setup, add the following line to your root URLConf:

(r'^wiki/', include('wiki.urls')),

This will set up the following URL patterns:

  • /wiki will be the view to list all of the wiki pages.
  • /wiki/<name>/ will be the view for the latest revision of a wiki page. It has a url name of wiki-view-page.
  • /wiki/<name>/<rev> will be the view for a specific revision of a wiki page. It has a url name of wiki-view-revision.
  • /wiki/<name>/diff/<rev> will be the view for the diffs for a specific revision of a wiki page. It has a url name of wiki-view-diff.
  • /wiki/<name>/edit will be the view to edit a wiki page. It has a url name of wiki-edit-page.

The default wiki page name format is WikiWord. You can customize the naming convention if desired by adding your own regular expression to your settings.py like this:

WIKI_WORD = r'(?:[A-Z]+[a-z]+){2,}'

Bug Reports/Feature Requests

Pop over to this app's project page on Github and check the issues list to see if it's already been reported. If not, open a new issue and I'll do my best to respond quickly.