Skip to content

Commit a32d5c8

Browse files
committed
Add fields __init__ to allowlist
Really not ideal, so open to alternatives
1 parent a075b0b commit a32d5c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/stubtest/allowlist.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,3 +390,8 @@ django.urls.resolvers.URLPattern.lookup_str
390390
django.urls.resolvers.URLResolver.url_patterns
391391
django.urls.resolvers.URLResolver.urlconf_module
392392
django.utils.connection.BaseConnectionHandler.settings
393+
394+
# Keyword only in stubs
395+
django.db.models.(\w*)Field.__init__
396+
django.db.models.fields.(\w*)Field.__init__
397+
django.contrib.gis.db.models.(\w*)Field.__init__

0 commit comments

Comments
 (0)