Skip to content

Commit b79d155

Browse files
Fix template warnings
1 parent 10766d6 commit b79d155

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

django-stubs/core/checks/templates.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from django.core.checks.messages import Error, Warning
66

77
E001: Error
88
E002: Error
9-
W001: Warning
9+
W003: Warning
1010

1111
def check_setting_app_dirs_loaders(app_configs: Sequence[AppConfig] | None, **kwargs: Any) -> Sequence[Error]: ...
1212
def check_string_if_invalid_is_string(app_configs: Sequence[AppConfig] | None, **kwargs: Any) -> Sequence[Error]: ...

scripts/stubtest/allowlist_todo.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,6 @@ django.contrib.staticfiles.management.commands.findstatic.Command.handle_label
819819
django.contrib.staticfiles.storage
820820
django.core.cache.cache
821821
django.core.checks.registry.CheckRegistry.register
822-
django.core.checks.templates.W001
823-
django.core.checks.templates.W003
824822
django.core.files.File.__next__
825823
django.core.files.File.size
826824
django.core.files.base.ContentFile.size

0 commit comments

Comments
 (0)