accounts: me va login apilar togirlandi, create_user command qoshildi

This commit is contained in:
behruz
2025-12-09 22:28:58 +05:00
parent 8b832f8e15
commit e5feb76f7d
9 changed files with 89 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication'
'rest_framework.authentication.BasicAuthentication',
'rest_framework_simplejwt.authentication.JWTAuthentication',
],
}