SpaceyaTech / mastori

Mastori is a community-driven open-source project that aims to provide a simple and efficient blogging platform built for the Dev Community
https://www.spaceyatech.com/
22 stars 54 forks source link

Adding djoser for authentication and blog app cleanup #142

Closed hellen-22 closed 1 year ago

hellen-22 commented 1 year ago

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

CI Django & Postgres Tests

Jambo

Test Configuration:

          python manage.py migrate
          python manage.py test

Checklist:

raykipkorir commented 1 year ago

In the above commits, I've made bio optional when the user is signing up also in accounts/serializers.py instead of inheriting from UserCreateSerializer I've changed it UserSerializer to fix the issue that was occurring when creating user.