evennia.web.utils.general_context

This file defines global variables that will always be available in a view context without having to repeatedly include it.

For this to work, this file is included in the settings file, in the TEMPLATES[“OPTIONS”][“context_processors”] list.

evennia.web.utils.general_context.load_game_settings()[source]

Load and cache game settings.

evennia.web.utils.general_context.general_context(request)[source]

Returns common Evennia-related context stuff, which is automatically added to context of all views.