mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 06:20:16 +02:00
- update string format method - remove redundant default arguments from function calls - remove unused imports - remove unicode identifier from strings, it's default in py3 (see: https://stackoverflow.com/a/4182635/12201331)
13 lines
368 B
Python
13 lines
368 B
Python
from django.apps import AppConfig
|
|
from django.core.checks import register, Tags
|
|
|
|
|
|
class AuthenticationConfig(AppConfig):
|
|
name = 'allianceauth.authentication'
|
|
label = 'authentication'
|
|
|
|
def ready(self):
|
|
super().ready()
|
|
from allianceauth.authentication import checks, signals
|
|
register(Tags.security)(checks.check_login_scopes_setting)
|