issues
search
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
Viewers
#105
Closed
Msdot001
closed
1 year ago
Msdot001
commented
1 year ago
Description
Modify the Stori model to include a new field named "viewers", which will be used to count the number of accounts that view the Stori.
Implement the necessary core services for the "viewers" field, including a serializer, a view, and the required URLs.
Use pytest to test the "viewers" attribute of the Stori model.
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
Checklist: