diff --git a/README.md b/README.md index 2cc30e0..a5cd134 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ http://t.me/Test_TPlatform_bot get_random_secret_key() 3. Вставьте полученный ключ в файл .env PLATFORM_ADMINPANEL_SECRET_KEY='ваш секретный ключ' +4. Для отладки проекта в adminpanel/settings.py установите DEBUG = False ### diff --git a/adminpanel/settings.py b/adminpanel/settings.py index 82495b0..5a2fd0c 100644 --- a/adminpanel/settings.py +++ b/adminpanel/settings.py @@ -24,7 +24,7 @@ load_dotenv() SECRET_KEY = os.getenv('PLATFORM_ADMINPANEL_SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ['*']