-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix add admin email notification for lesson changes (#212)
Co-authored-by: Konstantin Raikhert <[email protected]>
- Loading branch information
1 parent
59e5d08
commit 2e8768b
Showing
14 changed files
with
532 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,11 @@ EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend | |
EMAIL_HOST=smtp.yandex.ru | ||
EMAIL_PORT=465 | ||
# реквизиты для аутентификации в почтовом сервисе | ||
EMAIL_ACCOUNT=[email protected] | ||
EMAIL_PASSWORD=your_yandex_smtp_password | ||
EMAIL_HOST_USER=[email protected] | ||
EMAIL_HOST_PASSWORD=your_yandex_smtp_password | ||
EMAIL_USE_SSL=True | ||
# в настройках аккаунта откуда отправляется письмо подключите протокол IMAP | ||
# адрес по умолчанию для отправки вопросов от пользователей | ||
DEFAULT_EMAIL_ADDRESS=NOT_SET | ||
# Запустить бота | ||
RUN_BOT=true | ||
RUN_BOT=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: no-commit-to-branch | ||
name: Check to see if a commit is pushed to a safe branch | ||
- id: check-toml | ||
name: Check the files with `.toml` format | ||
- id: check-yaml | ||
name: Check the files with `.yaml` format | ||
args: ['--allow-multiple-documents'] | ||
- id: end-of-file-fixer | ||
name: Check for an empty line at the end of a file | ||
- id: trailing-whitespace | ||
name: Check for unnecessary white space | ||
args: ['--markdown-linebreak-ext=md'] | ||
- id: check-docstring-first | ||
name: Check docstrings location in python files | ||
- id: check-merge-conflict | ||
name: Сheck for no conflicts in the branch | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.4.2 | ||
hooks: | ||
- id: ruff | ||
types_or: [ python ] | ||
#TODO К ruff подключить одинарные кавычки | ||
# - id: ruff-format | ||
# types_or: [ python ] | ||
|
||
- repo: local | ||
hooks: | ||
- id: export-dev-dependencies | ||
name: Export development dependencies | ||
language: system | ||
pass_filenames: false | ||
entry: poetry lock | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: no-commit-to-branch | ||
name: Check to see if a commit is pushed to a safe branch | ||
- id: check-toml | ||
name: Check the files with `.toml` format | ||
- id: check-yaml | ||
name: Check the files with `.yaml` format | ||
args: ['--allow-multiple-documents'] | ||
- id: end-of-file-fixer | ||
name: Check for an empty line at the end of a file | ||
- id: trailing-whitespace | ||
name: Check for unnecessary white space | ||
args: ['--markdown-linebreak-ext=md'] | ||
- id: check-docstring-first | ||
name: Check docstrings location in python files | ||
- id: check-merge-conflict | ||
name: Сheck for no conflicts in the branch | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.4.2 | ||
hooks: | ||
- id: ruff | ||
types_or: [ python ] | ||
#TODO К ruff подключить одинарные кавычки | ||
# - id: ruff-format | ||
# types_or: [ python ] | ||
|
||
- repo: local | ||
hooks: | ||
- id: export-dev-dependencies | ||
name: Export development dependencies | ||
language: system | ||
pass_filenames: false | ||
entry: poetry lock |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.