This repository has been archived on 2023-02-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-my-data/docker/deploytime-settings-mydata.py

23 lines
571 B
Python

"""
Deploy-time settings.
These settings are used during the preparation of the Docker image,
so that we can run `manage.py collectstatic`. The settings should
mimick the production settings, but of course not contain any secrets.
The actual settings should be mounted using a Docker volume.
"""
# noinspection PyUnresolvedReferences
from mydata.common_settings import *
DEBUG = False
SECRET_KEY = r'''1234'''
import sys
import os
if os.path.exists('/var/www/settings/mydata_settings.py'):
sys.path.append('/var/www/settings')
from mydata_settings import *