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 4c1d4ac commit 5229bdcCopy full SHA for 5229bdc
{{ cookiecutter.name }}/src/app/models.py
@@ -28,7 +28,7 @@ def __str__(self) -> str:
28
def get_contenttype(cls) -> ContentType:
29
return ContentType.objects.get_for_model(cls)
30
31
- def update(self, **kwargs: "Any") -> "models.Model": # type: ignore[misc]
+ def update(self, **kwargs: "Any") -> "models.Model":
32
for key, value in kwargs.items():
33
setattr(self, key, value)
34
0 commit comments