Django admin additions (#543)

This commit is contained in:
Marti Raudsepp
2020-12-17 12:23:51 +02:00
committed by GitHub
parent caaa23ab8f
commit 36d1778e2a
3 changed files with 43 additions and 21 deletions

View File

@@ -113,9 +113,15 @@ IGNORED_ERRORS = {
'error: "HttpResponse" has no attribute "context_data"',
],
"admin_checks": ['Argument 1 to "append" of "list" has incompatible type "str"; expected "CheckMessage"'],
"admin_default_site": [
'Incompatible types in assignment (expression has type "DefaultAdminSite", variable has type "AdminSite")'
],
"admin_inlines": [
'error: "HttpResponse" has no attribute "rendered_content"',
],
"admin_registration": [
'Argument "site" to "register" has incompatible type "Type[Traveler]"; expected "Optional[AdminSite]"',
],
"admin_utils": [
'"Article" has no attribute "non_field"',
],