Skip to main content

wiki is is a rewrite of django-simplewiki, a project from 2009 that aimed to be a base system for a wiki.

Template Plugin

Wiki Template almoust like MediaWiki’s template language. One definition, used in multiple places.

Install

pip install wiki-template and create your django project.

Settings

Insert “wiki_template.apps.WikiTemplateConfig” to INSTALLED_APPS before “wiki.plugins.*”:

INSTALLED_APPS = [
    ......
    'wiki_template.apps.WikiTemplateConfig',
    ......
]

You may need add configure WIKI_MARKDOWN_HTML_WHITELIST to settings.py when you want use html into wiki template.

e.g.:

WIKI_MARKDOWN_HTML_WHITELIST = [
    'center', 'style', 'div'
]

Also you need add WIKI_MARKDOWN_HTML_ATTRIBUTES, WIKI_MARKDOWN_HTML_STYLES to settings when use inline style:

WIKI_MARKDOWN_HTML_ATTRIBUTES = {
    '*': ['style']
}

WIKI_MARKDOWN_HTML_STYLES = [
    'padding', 'width', 'color', 'float', 'clear', 'background'
]

Bug report

Any issues report to Github.

Metadata

Release files for wiki-template 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wiki-template 0.4.0
File Size Uploaded
wiki_template-0.4.0.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wiki-template 0.4.0
File Interpreter ABI Platform
wiki_template-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.7 kB

Release files / wiki_template-0.4.0.tar.gz

Download URL wiki_template-0.4.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fc79479adda0bcdadbfb029ed2e34bcdef94a7b7b497d3e60abadc5805e8a68e
BLAKE2b-256 checksum
How to use checksums
c9e7cd6293bed6223b999080970acf31bd31e59c021a2fb2d87f436bffbd07f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / wiki_template-0.4.0-py3-none-any.whl

Download URL wiki_template-0.4.0-py3-none-any.whl
Size 32.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45569da2d058a503601521fc66851d5f710cba7816ad4315a3ff9ba26217401b
BLAKE2b-256 checksum
How to use checksums
f018fe6a17d2632fac2eec45bc2619f59b6d863f3de712d0271ff1d844a3ad22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page