Skip to main content

A collection of wiki-like Django modules for integration with APIs. Based on wiki package.

Project description

Background

Django-wiki-base is a lightweight, stripped down version of [django-wiki](https://github.com/benjaoming/django-wiki), it only contains structure models (to be easily included in existing project via API).

Current goals

  • Markup language switch (Markdown, reST, HTML, ..)

Changes from django-wiki

  • Moved ArticleRevision deleted and locked flags to Article

  • Strip all unneeded stuff - views, etc.

  • Transform Article to use Sections’ (based on MPTT - possible to reorder/nest) from which article menu could be created (think MediaWiki)

Contributing

If you have a great idea, let me know; for now I’d like to keep everything as simple as possible.

Dependencies

So far the dependencies are:

Development

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

The folder testproject/ contains a pre-configured django project (subject to change) 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.

Python compatibility

It was compatible with Python 2.5 when I cloned from django-wiki repository (Jan 2014), but I’m developing on 2.7. Feel free to contact me/send a pull request if something has broken (not related to plugins).

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

Acknowledgements

<!—Illegal PyPi RST data –> <!—Anything that isn’t validly translateable to PyPi RST goes after this line –>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiki-base-0.1.0.tar.gz (247.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page