fix pre-commit
Some checks failed
CI/CD Pipeline / Telegram Notify Success (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 17m25s
CI/CD Pipeline / Run Tests (pull_request) Successful in 20m1s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been cancelled
Some checks failed
CI/CD Pipeline / Telegram Notify Success (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 17m25s
CI/CD Pipeline / Run Tests (pull_request) Successful in 20m1s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been cancelled
This commit is contained in:
@@ -69,3 +69,10 @@ CACHES = {
|
||||
|
||||
# Email
|
||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||
|
||||
# DRF: отключаем throttling в dev, чтобы не мешать фронту тестировать API.
|
||||
REST_FRAMEWORK = {
|
||||
**globals().get("REST_FRAMEWORK", {}),
|
||||
"DEFAULT_THROTTLE_CLASSES": [],
|
||||
"DEFAULT_THROTTLE_RATES": {},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user