goa/overrides/server__init__.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 15 Sep 2009 16:00:03 +0200
branch3.5
changeset 3231 3ee43e2f8560
parent 1977 606923dff11b
child 4212 ab6573088b4a
permissions -rw-r--r--
[utils] provide a class to extend the default simplejson encoder to be able to dump standard yams attribute types

# server debugging flag
"""

:organization: Logilab
:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
DEBUG = False

# sqlite'stored procedures have to be registered at connexion opening time
SQL_CONNECT_HOOKS = {}

# add to this set relations which should have their add security checking done
# *BEFORE* adding the actual relation (done after by default)
BEFORE_ADD_RELATIONS = set(('owned_by',))

# add to this set relations which should have their add security checking done
# *at COMMIT TIME* (done after by default)
ON_COMMIT_ADD_RELATIONS = set(())

# available sources registry
SOURCE_TYPES = {}