diff --git a/kahluaproject/settings.py b/kahluaproject/settings.py index 4727702..d3d4d00 100644 --- a/kahluaproject/settings.py +++ b/kahluaproject/settings.py @@ -30,6 +30,11 @@ IAMPORT_KEY = env('IAMPORT_KEY') IAMPORT_SECRET = env('IAMPORT_SECRET') +NCP_SERVICE_ID = env('NCP_SERVICE_ID') +NCP_SECRET_KEY = env('NCP_SECRET_KEY') +NCP_ACCESS_KEY_ID = env('NCP_ACCESS_KEY_ID') + +SENDER_PHONE_NUM = env('SENDER_PHONE_NUM') # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ diff --git a/users/views/base_views.py b/users/views/base_views.py index beb18b0..688ad6b 100644 --- a/users/views/base_views.py +++ b/users/views/base_views.py @@ -6,6 +6,7 @@ from rest_framework import serializers from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.generics import CreateAPIView, GenericAPIView, RetrieveAPIView, UpdateAPIView +from rest_framework_simplejwt.tokens import RefreshToken from drf_yasg import openapi from drf_yasg.utils import swagger_auto_schema