This pull request addresses issue #37 and issue #36
This pull request includes updates to the authentication and user profile functionality. It updates the requirements.txt file to include djangorestframework-simplejwt 5.3.1, updates the DJANGO_SETTINGS_MODULE in asgi.py and wsgi.py, updates the URLs in urls.py and accounts/urls.py, and updates base.py with REST framework and JWT configurations. It also refactors the token_generator_and_check_if_exists function in utils.py and handles exceptions in AuthUserSerializer in serializers.py. Additionally, it fixes formatting issues in accounts/views.py.
This pull request addresses issue #37 and issue #36
This pull request includes updates to the authentication and user profile functionality. It updates the
requirements.txt
file to includedjangorestframework-simplejwt 5.3.1
, updates theDJANGO_SETTINGS_MODULE
inasgi.py
andwsgi.py
, updates the URLs inurls.py
andaccounts/urls.py
, and updatesbase.py
with REST framework and JWT configurations. It also refactors thetoken_generator_and_check_if_exists
function inutils.py
and handles exceptions inAuthUserSerializer
inserializers.py
. Additionally, it fixes formatting issues inaccounts/views.py
.