mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Splitting web stuff off into a separate apps directory. This stuff will end up being replaced/re-written, it's ancient and really badly done.
This commit is contained in:
parent
75b39ada13
commit
ed1510c4a7
12 changed files with 23 additions and 23 deletions
9
webapps/website/webcontext.py
Normal file
9
webapps/website/webcontext.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import gameconf
|
||||
|
||||
def general_context(request):
|
||||
"""
|
||||
Returns common Evennia-related context stuff.
|
||||
"""
|
||||
return {
|
||||
'game_name': gameconf.get_configvalue('site_name'),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue