Persistent User Settings

This commit is contained in:
Ariel Rin
2022-02-26 06:19:38 +00:00
parent e54f72091f
commit 1aad3e4512
11 changed files with 410 additions and 10 deletions

View File

@@ -1,4 +1,17 @@
from django.db.models.signals import (
m2m_changed,
post_save,
pre_delete,
pre_save
)
from django.urls import reverse
from unittest import mock
MODULE_PATH = 'allianceauth.authentication'
def patch(target, *args, **kwargs):
return mock.patch(f'{MODULE_PATH}{target}', *args, **kwargs)
def get_admin_change_view_url(obj: object) -> str: