Big pile of minor code cleanups

This commit is contained in:
2022-01-12 20:54:32 +00:00
parent 3abb73872b
commit e002ab7bed
13 changed files with 78 additions and 77 deletions

View File

@@ -69,7 +69,7 @@ class Profile(AbstractUser):
return self.name
class RevisionMixin(object):
class RevisionMixin:
@property
def is_first_version(self):
versions = Version.objects.get_for_object(self)