DSCKabarak / ComradeMarketPlace

A community project, that is an e-commerce website.
11 stars 14 forks source link

Update authentication and user profile functionality #77

Closed wekesa360 closed 6 months ago

wekesa360 commented 6 months ago

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.