diff --git a/.gitignore b/.gitignore index 9ba321357df1d2575c5f9e4fef717c4dc00b214b..b839e25e0377459add5e3d7fc4b865d50dabe767 100644 --- a/.gitignore +++ b/.gitignore @@ -1,133 +1,7 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -pip-wheel-metadata/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.nox/ .coverage -.coverage.* -.cache -nosetests.xml +.dpl +__pycache__/ coverage.xml -*.cover -*.py,cover -.hypothesis/ -.pytest_cache/ - -# Translations -*.pot - -# Django stuff: -*.log -local_settings.py db.sqlite3 -db.sqlite3-journal - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# IPython -profile_default/ -ipython_config.py - -# pyenv -.python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# PEP 582; used by e.g. github.com/David-OConnor/pyflow -__pypackages__/ - -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - -# Environments -.env -.venv env/ -venv/ -ENV/ -env.bak/ -venv.bak/ - -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - -# mkdocs documentation -/site - -# mypy -.mypy_cache/ -.dmypy.json -dmypy.json - -# Pyre type checker -.pyre/ - -# Elastic Beanstalk Files -.elasticbeanstalk/* -!.elasticbeanstalk/*.cfg.yml -!.elasticbeanstalk/*.global.yml +media/ diff --git a/home_industry/settings/local.py b/home_industry/settings/local.py index f09e11da4e8fe928e74589275cb108e378d47907..81f7d36c5ae15f4f009cb576201985ed93122ab0 100644 --- a/home_industry/settings/local.py +++ b/home_industry/settings/local.py @@ -9,7 +9,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__fil SECRET_KEY = os.environ['SECRET_KEY'] -DEBUG = os.environ.get('DEBUG', True) != "False" +DEBUG = os.environ.get('DEBUG', True) != 'False' ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] diff --git a/home_industry/settings/staging.py b/home_industry/settings/staging.py index b9d0651516c446d60ae8939487bce30e2959eb32..ad4eab1b22a3fe9b19290f1b59ccf179c7be5bfa 100644 --- a/home_industry/settings/staging.py +++ b/home_industry/settings/staging.py @@ -11,7 +11,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__fil SECRET_KEY = os.environ['SECRET_KEY'] -DEBUG = os.environ.get('DEBUG', True) != "False" +DEBUG = os.environ.get('DEBUG', True) != 'False' ALLOWED_HOSTS = ['.herokuapp.com']