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.set_game_name_and_slogan()[source]¶ Sets global variables GAME_NAME and GAME_SLOGAN which are used by general_context.
Notes
This function is used for unit testing the values of the globals.