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

Blogservice #102

Closed Eugene-Kwaka closed 1 year ago

Eugene-Kwaka 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) Worked on #issue26 on BlogService. Blogs can now be Fetched, Created, Updated and Deleted

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist:

Eugene-Kwaka commented 1 year ago

I rewrote the StoriList view to extend from ListCreateAPIView so that we can combine creation of a new stori with listing of many articles. The Fetch, Update and Delete features extend from the generic.RetrieveUpdateDestroyAPIView.