refactor(access): Update all references to User to use get_user_model()

ref: #754 #704 #755
This commit is contained in:
2025-05-14 03:45:40 +09:30
parent f5be3b0f8e
commit 6d92c484cd
28 changed files with 118 additions and 34 deletions

View File

@ -1,9 +1,13 @@
from django.contrib.auth.models import User, Group
import django
from django.contrib.auth.models import Group
from django.db import models
from access.models.organization import Organization
from access.models.team import Team
User = django.contrib.auth.get_user_model()
class OrganizationMixin: