mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
Create related managers from generated managers (#580)
This commit is contained in:
committed by
GitHub
parent
cd9ef6cdd4
commit
9beb5327de
@@ -290,7 +290,7 @@ IGNORED_ERRORS = {
|
||||
'Incompatible types in assignment (expression has type "HttpResponseBase", variable has type "HttpResponse")',
|
||||
],
|
||||
"many_to_many": [
|
||||
'(expression has type "List[Article]", variable has type "Article_RelatedManager2',
|
||||
'(expression has type "List[Article]", variable has type "Publication_Article_RelatedManager1',
|
||||
'"add" of "RelatedManager" has incompatible type "Article"; expected "Union[Publication, int]"',
|
||||
],
|
||||
"many_to_one": [
|
||||
|
||||
Reference in New Issue
Block a user