Skip to content

Commit ec90c46

Browse files
jpulecatodorov
authored andcommitted
Fix for Reverse Manager update_or_create calls
This attr list appears to be missing `update_or_create` which means that reverse related managers throw an error when trying to use them like `self.<MANAGER>.update_or_create()`.
1 parent d15f20c commit ec90c46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pylint_django/augmentations/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'extra',
4545
'get',
4646
'get_or_create',
47+
'update_or_create',
4748
'get_queryset',
4849
'create',
4950
'bulk_create',

0 commit comments

Comments
 (0)