mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 00:36:30 +01:00
10 lines
259 B
Python
10 lines
259 B
Python
from apps.config.models import ConfigValue
|
|
"""
|
|
Handle the setting/retrieving of server config directives.
|
|
"""
|
|
|
|
def get_configvalue(configname):
|
|
"""
|
|
Retrieve a configuration value.
|
|
"""
|
|
return ConfigValue.objects.get(conf_key=configname).conf_value
|