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'