We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec90c46 commit 8e44dd8Copy full SHA for 8e44dd8
pylint_django/tests/input/func_noerror_foreign_key_sets.py
@@ -15,6 +15,9 @@ def get_others(self):
15
def get_first(self):
16
return self.othermodel_set.first()
17
18
+ def othermodel_update_or_create(self):
19
+ return self.othermodel_set.update_or_create()
20
+
21
22
class OtherModel(models.Model):
23
count = models.IntegerField()
0 commit comments