Switch to JSON web token and set default host to 0.0.0.0

This commit is contained in:
Keannu Christian Bernasol 2023-07-03 23:19:03 +08:00
parent e567b5d399
commit a7d5cdd56e
3 changed files with 5 additions and 2 deletions

View file

@ -109,7 +109,7 @@ TEMPLATES = [
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.TokenAuthentication',
'rest_framework_simplejwt.authentication.JWTAuthentication',
)
}