Removing mixins.py, as it's not in use. We now have a separate ConnectScreen model under the config app to store connect screens. ConfigValue's value fields are now CharFields instead of TextFields for the sake of efficiency and sanity. It is strongly recommended that you reset your config app and syncdb to load the fixture.

This commit is contained in:
Greg Taylor 2008-06-14 03:15:41 +00:00
parent f1760e6521
commit ffe9a563e0
5 changed files with 37 additions and 27 deletions

View file

@ -1,7 +1,7 @@
import os
from traceback import format_exc
from apps.config.models import ConfigValue
from apps.config.models import ConfigValue, ConnectScreen
import functions_general
"""
Handle the setting/retrieving of server config directives.
@ -31,3 +31,4 @@ def set_configvalue(configname, newvalue):
conf = ConfigValue.objects.get(conf_key=configname)
conf.conf_value = newvalue
conf.save()