From 6657d3b7b7c9b1795eb908e424955ac59b8a2443 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Mon, 18 May 2020 14:13:12 +0200 Subject: [PATCH] Remove comments model due to django sites error --- Makefile | 2 +- ansible.cfg | 3 +++ publichealth/settings/base.py | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2cd974f..c27f099 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ run-here: docker-compose up run: - docker-compose up -d # detach by default + docker-compose up -d --restart=always # detach by default restart: docker-compose stop web diff --git a/ansible.cfg b/ansible.cfg index 2f3b3e3..d9b2bfc 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -3,3 +3,6 @@ retry_files_enabled = False roles_path = ansible/roles:~/.ansible/roles vault_password_file = .keys/ansible.vault interpreter_python = /usr/bin/python3 + +[ssh_connection] +scp_if_ssh=True diff --git a/publichealth/settings/base.py b/publichealth/settings/base.py index fcdd94f..01d7518 100644 --- a/publichealth/settings/base.py +++ b/publichealth/settings/base.py @@ -72,10 +72,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'django_social_share', - - 'django.contrib.sites', - 'django_comments', + 'django_social_share' ] MIDDLEWARE = [