Re-organization.
This commit is contained in:
parent
5db3ae2933
commit
5421ab7f6e
38 changed files with 0 additions and 0 deletions
10
gameconf.py
Normal file
10
gameconf.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue