Skip to content

Commit a18937a

Browse files
committed
Removed unuseful subclass not required since py3
1 parent 5719cc9 commit a18937a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_prometheus/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class User(ExportModelOperationsMixin('user'), Model):
3737
model_updates.labels(model_name)
3838
model_deletes.labels(model_name)
3939

40-
class Mixin(object):
40+
class Mixin:
4141
def _do_insert(self, *args, **kwargs):
4242
model_inserts.labels(model_name).inc()
4343
return super()._do_insert(*args, **kwargs)

0 commit comments

Comments
 (0)