Feat flake8 strength (#209)

* remove warnings from flake
This commit is contained in:
Markos Gogoulos
2021-06-03 18:26:53 +03:00
committed by GitHub
parent 748d4bae4b
commit 7bda0acd8b
7 changed files with 12 additions and 16 deletions

View File

@@ -433,7 +433,7 @@ GLOBAL_LOGIN_REQUIRED = False
try:
# keep a local_settings.py file for local overrides
from .local_settings import *
from .local_settings import * # noqa
# ALLOWED_HOSTS needs a url/ip
ALLOWED_HOSTS.append(FRONTEND_HOST.replace("http://", "").replace("https://", ""))