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 5719cc9 commit a18937aCopy full SHA for a18937a
django_prometheus/models.py
@@ -37,7 +37,7 @@ class User(ExportModelOperationsMixin('user'), Model):
37
model_updates.labels(model_name)
38
model_deletes.labels(model_name)
39
40
- class Mixin(object):
+ class Mixin:
41
def _do_insert(self, *args, **kwargs):
42
model_inserts.labels(model_name).inc()
43
return super()._do_insert(*args, **kwargs)
0 commit comments