From b23e3a1caa10f824b6a0f8bbfaaab7fe53ac3abf Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 8 May 2020 11:35:51 +0200 Subject: [PATCH] Refs #27661 -- Added Tags.staticfiles. Follow up to 0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7. --- django/contrib/staticfiles/apps.py | 2 +- django/core/checks/registry.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/django/contrib/staticfiles/apps.py b/django/contrib/staticfiles/apps.py index adf9f7e57d..2fbc829bf8 100644 --- a/django/contrib/staticfiles/apps.py +++ b/django/contrib/staticfiles/apps.py @@ -10,4 +10,4 @@ class StaticFilesConfig(AppConfig): ignore_patterns = ['CVS', '.*', '*~'] def ready(self): - checks.register(check_finders, 'staticfiles') + checks.register(check_finders, checks.Tags.staticfiles) diff --git a/django/core/checks/registry.py b/django/core/checks/registry.py index bf83c51799..c79e3491c4 100644 --- a/django/core/checks/registry.py +++ b/django/core/checks/registry.py @@ -15,6 +15,7 @@ class Tags: models = 'models' security = 'security' signals = 'signals' + staticfiles = 'staticfiles' templates = 'templates' translation = 'translation' urls = 'urls'