Initial commit from ZIP
This commit is contained in:
commit
378d4692a9
454 files changed
+40367
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
from django.apps import AppConfig
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from rest_framework.authentication import TokenAuthentication as BaseTokenAuthentication
|
||||
|
||||
|
||||
class TokenAuthentication(BaseTokenAuthentication):
|
||||
keyword = "Bearer"
|
||||
|
||||
|
||||
class AuthenticationAppConfig(AppConfig):
|
||||
name = "outbo.apps.authentication"
|
||||
label = "authentication"
|
||||
verbose_name = _("Authentication")
|
||||
|
||||
|
||||
default_app_config = "outbo.apps.authentication.AuthenticationAppConfig"
|
||||
Reference in new issue
Block a user