Create related managers from generated managers (#580)

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

No files matched your search

+1 -1
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": [