mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Docs: document DEBUG_API_REQUESTS setting
(And add a system check to warn about its use in production deployment.)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from django.apps import AppConfig
|
||||
from django.core import checks
|
||||
|
||||
from .checks import check_deprecated_settings
|
||||
from .checks import check_deprecated_settings, check_insecure_settings
|
||||
|
||||
|
||||
class AnymailBaseConfig(AppConfig):
|
||||
@@ -10,3 +10,4 @@ class AnymailBaseConfig(AppConfig):
|
||||
|
||||
def ready(self):
|
||||
checks.register(check_deprecated_settings)
|
||||
checks.register(check_insecure_settings)
|
||||
|
||||
Reference in New Issue
Block a user