From 6ece1e94e66f3130e47206dc38d019d18ea97a1c Mon Sep 17 00:00:00 2001 From: Denis Bulgakov Date: Mon, 23 Dec 2024 23:33:41 +0400 Subject: [PATCH] last commit after review --- .github/workflows/main.yml | 2 +- _env.example | 13 +++++++------ kittygram_workflow.yml | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c5662a..fb5461a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: POSTGRES_DB: kittygram DB_HOST: postgres DB_PORT: 5432 - SECRET_KEY: r943ruj0938rjf9j09fj0932jf9023gj29few + SECRET_KEY: supersecurekeyfodjango DEBUG: False run: | python -m flake8 backend/ diff --git a/_env.example b/_env.example index 31bb09a..cd8f718 100644 --- a/_env.example +++ b/_env.example @@ -1,13 +1,14 @@ -# Database settings +### Database settings POSTGRES_DB=dbname POSTGRES_USER=dbuser POSTGRES_PASSWORD=dbsecurepass POSTGRES_HOST=dbhost POSTGRES_PORT=dbport -# Django settings -SECRET_KEY=your_secret_key_here # Введите уникальный ключ для Django (например, сгенерированный через django-secret-key-generator) -DEBUG=True # True для разработки, False для продакшена - +#### Django settings +# Введите уникальный ключ для Django (например, сгенерированный через django-secret-key-generator) +SECRET_KEY=your_secret_key_here +# True для разработки, False для продакшена +DEBUG=True # ALLOWED_HOSTS (значения через пробел или запятую, в зависимости от split в settings.py) -ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com \ No newline at end of file +ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com \ No newline at end of file diff --git a/kittygram_workflow.yml b/kittygram_workflow.yml index 8c5662a..fb5461a 100644 --- a/kittygram_workflow.yml +++ b/kittygram_workflow.yml @@ -41,7 +41,7 @@ jobs: POSTGRES_DB: kittygram DB_HOST: postgres DB_PORT: 5432 - SECRET_KEY: r943ruj0938rjf9j09fj0932jf9023gj29few + SECRET_KEY: supersecurekeyfodjango DEBUG: False run: | python -m flake8 backend/