Fix tests

This commit is contained in:
2024-12-11 22:37:26 +01:00
parent d12dd7678b
commit b0966e7664
7 changed files with 3 additions and 144 deletions

View File

@ -18,7 +18,7 @@ logger: logging.Logger = logging.getLogger(__name__)
class User(AbstractUser):
"""Custom user model."""
class Meta(auto_prefetch.Model.Meta):
class Meta:
ordering: ClassVar[list[str]] = ["username"]
def __str__(self) -> str: