AngellusMortis/django_microsoft_auth

View on GitHub
microsoft_auth/__init__.py

Summary

Maintainability
A
0 mins
Test Coverage
C
75%
"""
Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a
Django authentcation backend.
"""

__version__ = "2.4.1"

import django

# TODO: remove when dropping support for <3.2
if int(f"{django.VERSION[0]}{django.VERSION[1]}") < 32:
    default_app_config = "microsoft_auth.apps.MicrosoftAuthConfig"