Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

        def configglue(schema_class, configs, target):
    scp = SchemaConfigParser(schema_class())
    update_settings(scp, target)
    return scp

src/d/j/django-configglue-0.7.1/django_configglue/tests/test_configglue.py   django-configglue(Download)
from django_configglue import management
from django_configglue.utils import (
    def test_configglue(self):
        target = {}
        schema = schemas.get(django.get_version(), strict=False)
        configglue(schema, [], target)
        # target is consistent with django's settings module
    def test_configglue_calls(self, MockSchemaConfigParser,
        target = {}
        configglue(BaseDjangoSchema, [], target)

src/d/j/django-configglue-0.7.1/django_configglue/tests/settings.py   django-configglue(Download)
# Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
# GNU Lesser General Public License version 3 (see the file LICENSE).
import django
from django_configglue.utils import configglue
    main_cfg = 'main-13.cfg'
configglue(DjangoSchema, [main_cfg, 'test.cfg'], __name__)