Create related managers from generated managers (#580)

This commit is contained in:
Konstantin Alekseev
2021-04-07 11:37:28 +03:00
committed by GitHub
parent cd9ef6cdd4
commit 9beb5327de
3 changed files with 74 additions and 4 deletions

View File

@@ -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": [