CONT: fixed the previous changes.
This commit is contained in:
@@ -7,6 +7,8 @@ from django.db.models import Q
|
||||
app_config = apps.get_containing_app_config(__package__)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# TODO: most of the functions here are auth stuff.
|
||||
|
||||
|
||||
def get_system_user():
|
||||
return get_user_model().objects.get_or_create(username='-system-')[0]
|
||||
|
||||
Reference in New Issue
Block a user