Пример #1
0
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public
    License along with 1flow.  If not, see http://www.gnu.org/licenses/

"""

from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        '00_production',
        '1flow_io_pre_common',
        'common',
        'social_auth',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_production',
        'common_production',
        #NOTE: *NEVER* 'rosetta' here. We can't get the new translations
        #   back from production to the git repo, due to to git-flow
        #   design. Which makes perfect sense in production, anyway.
    ),
    __file__,
    globals())
Пример #2
0
from sparks.django.settings import include_snippets

include_snippets(
    (
        # Don't forget to deactivate nobother when we'ge got time to
        # fix other's bugs. Just kidding…
        '000_nobother',

        # Deactivate 00_development, activate 00_production and _post_
        # to test 404/500 and switch to full production configuration.
        '00_development',
        #'00_production',

        '1flow_io_pre_common',
        'common',
        'social_auth',

        #'1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_development',
        'common_development',
        'rosetta',
        'djdt',
    ),
    __file__, globals()
)

ALLOWED_HOSTS += [
Пример #3
0
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public
    License along with 1flow.  If not, see http://www.gnu.org/licenses/

"""

from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        '00_production',
        '1flow_io_pre_common',
        'common',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_production',
        'common_production',
        #NOTE: *NEVER* 'rosetta' here. We can't get the new translations
        #   back from production to the git repo, due to to git-flow
        #   design. Which makes perfect sense in production, anyway.
    ),
    __file__, globals()
)
Пример #4
0
    License along with 1flow.  If not, see http://www.gnu.org/licenses/

"""

from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        '00_production',
        '1flow_io_pre_common',
        'common',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'constance',
        'cache',
        'celery',
        'mail_production',
        'common_production',
        # we need django-nose, devserver, etc.
        'common_development',
    ),
    __file__, globals()
)

# Overide real production settings, to be able to distinguish.
SITE_DOMAIN = 'zero.1flow.io'
EMAIL_SUBJECT_PREFIX='[ZERO.1flow] '

ALLOWED_HOSTS += ['localhost', SITE_DOMAIN]
Пример #5
0
"""

from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        # we use "production". We don't debug on OBI: we need to be
        # in "real-life-mode", as closer as possible of the real
        # production servers. Sentry will catch all errors, anyway.
        '00_production',
        '1flow_io_pre_common',
        'common',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_production',
        # But it's a preview/test environment, still.
        'common_preview',
        # Thus we get rosetta, and the Django Debug toolbar.
        'rosetta',
        'djdt',
    ),
    __file__, globals()
)

# Override `1flow_io` for preview/test environment.
SITE_DOMAIN = 'obi.1flow.io'
Пример #6
0
from sparks.django.settings import include_snippets

include_snippets(
    (
        # Don't forget to deactivate nobother when we'ge got time to
        # fix other's bugs. Just kidding…
        '000_nobother',

        # Deactivate 00_development, activate 00_production and _post_
        # to test 404/500 and switch to full production configuration.
        '00_development',
        # '00_production',

        '1flow_io_pre_common',
        'common',
        'social_auth',

        # '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_development',
        'common_development',
        'rosetta',
        # 'djdt',
    ),
    __file__, globals()
)

ALLOWED_HOSTS += [
Пример #7
0
from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        # we use "production". We don't debug on OBI: we need to be
        # in "real-life-mode", as closer as possible of the real
        # production servers. Sentry will catch all errors, anyway.
        '00_production',
        '1flow_io_pre_common',
        'common',
        'social_auth',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'cache',
        'celery',
        'mail_production',
        # But it's a preview/test environment, still.
        'common_preview',
        # Thus we get rosetta, and the Django Debug toolbar.
        'rosetta',
        'djdt',
    ),
    __file__,
    globals())

# Override `1flow_io` for preview/test environment.
SITE_DOMAIN = 'obi.1flow.io'
Пример #8
0
"""

from sparks.django.settings import include_snippets

include_snippets(
    (
        '000_nobother',
        '00_production',
        '1flow_io_pre_common',
        'common',
        'social_auth',
        '1flow_io_post_common',
        'constance',
        'api_keys',
        'databases',
        'constance',
        'cache',
        'celery',
        'mail_production',
        'common_production',
        # we need django-nose, devserver, etc.
        'common_development',
    ),
    __file__,
    globals())

# Overide real production settings, to be able to distinguish.
SITE_DOMAIN = 'zero.1flow.io'
EMAIL_SUBJECT_PREFIX = '[ZERO.1flow] '