From f29afa053c8b02740c904d738b01adb442c8052e Mon Sep 17 00:00:00 2001 From: Artem Vasin Date: Thu, 9 Jan 2020 16:07:39 +0300 Subject: [PATCH] Fix default pycharm django console config Currently django console launch ends with KeyError because of "os.environ['POSTGRES_USER'], os.environ['POSTGRES_PASSWORD']...". This env variables is never mentioned in cookiecutter-django docs and quite confusing. Actually it's unnecessary to set this env variable in this script --- {{cookiecutter.project_slug}}/.idea/workspace.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/.idea/workspace.xml b/{{cookiecutter.project_slug}}/.idea/workspace.xml index a5d73c185..4d04b0d54 100644 --- a/{{cookiecutter.project_slug}}/.idea/workspace.xml +++ b/{{cookiecutter.project_slug}}/.idea/workspace.xml @@ -2,12 +2,12 @@ {%- if cookiecutter.use_celery == 'y' %} {%- else %} {%- endif %}