Create a ‘base.html’ that Djiki expects to exist and acts as a base template
for all the wiki pages. It must have a ‘page’ block. Alternatively, supply
your own ‘djiki/base.html’ that overrides the supplied template.

Settings

The following settings configure Djiki’s behavior:

DJIKI_PARSER — a Python path to the markup parser. The default is
djiki.parsers.wikicreole.

DJIKI_ALLOW_ANONYMOUS_EDITS — no longer used, replaced by:

DJIKI_AUTHORIZATION_BACKEND — a Python path to authorization backend.
The default is djiki.auth.base.UnrestrictedAccess, which grants full
read/write permissions to all clients. The other included backends are
djiki.auth.base.OnlyAuthenticatedEdits and djiki.auth.base.OnlyAdminEdits.

DJIKI_SPACES_AS_UNDERSCORES — makes Djiki replace whitespaces in
URLs by underscores. It’s a choice between having nice or exact URLs.
Depending on the settings, the adresses may look as
http://djiki.org/wiki/Main_Page or http://djiki.org/wiki/Main%20Page
This setting will also squash multiple spaces into one. It affects image
names in the same way, too. Defaults to True.

DJIKI_IMAGES_PATH — path to images, relative to MEDIA_ROOT.

Parsers

Djiki allows you to use custom markup parser and it is no longer required
to use Creole. The default behavior, however, is to pass all the page
contents through djiki.parsers.wikicreole module. The other choices are:

djiki.parsers.raw — passes the content without modification, allowing
for raw HTML. This should not be used in a public wiki, as users may
enter malicious code.

djiki.parsers.html.SafeHTML — it is a safer alternative, which
filters the resulting content from dangerous HTML elements like scripts,
CSS styles or annoying and invalid tags.

Images

The standard Creole markup has been extended to handle resizing of
images. The standard syntax of {{Image_name.jpg|Image title}} is
still valid, however you may add size by typing
{{Image_name.jpg|300x200|Image title}} or even omit the title:
{{Image_name.jpg|300x200}}.