diff --git a/OneCprogsite/settings.py b/OneCprogsite/settings.py index 052e0c7..32eb793 100644 --- a/OneCprogsite/settings.py +++ b/OneCprogsite/settings.py @@ -74,9 +74,6 @@ if not DEBUG: CELERY_BROKER_URL = os.environ.get('CELERY_BROKER_URL', 'redis://localhost:6379/0') CELERY_RESULT_BACKEND = os.environ.get('CELERY_RESULT_BACKEND', 'redis://localhost:6379/0') -if DEBUG: - A = True - CSRF_TRUSTED_ORIGINS = [ 'https://nikdizell.ru', 'https://www.nikdizell.ru',