A simple Django app to add a wiki to Evennia
A simple wiki for
Evennia, simple to install within an Evennia game.
You have to install Evennia beforehand. Once done, to add the Wiki, install from pypi:
pip install evennia_wiki
Then, in your Evennia folder, edit
server/conf/settings.py to add
the installed app:
INSTALLED_APPS += ( # ... "evennia_wiki", )
web/urls.py, you should add the custom URL:
custom_patterns = [ # ... url(r'^wiki/', include('evennia_wiki.urls')), ]
Donâ€™t forget to run
evennia migrate after that.
You can now run your game:
Go to your website: http://localhost:4001/wiki/ .
By default, the wiki is off-limit to players. Only authenticated builders have access to it, to write it and read it. You can change these defaults.
The current possibility is to change this default for every page. It is not possible to do it for a specific page. Go to your
settings.lpy file and change one of these settings:
WIKI_CAN_READ: who can read the wiki? Set to
"builder"by default. Change it to
"anonymous"to allow anonymous visitors to read your wiki (but not edit it).
WIKI_CAN_WRITE: who can write your wiki? Set to
"builder"by default. For the time being, anonymous users cannot edit a wiki page, so you need to set it to a group of authenticated users (like
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size evennia-wiki-0.5.tar.gz (12.8 kB)||File type Source||Python version None||Upload date||Hashes View|