Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#164847589 fix article view feature #46

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

wasibani-roy
Copy link
Contributor

What does this PR do?
This PR fixes article view to show comment and who authored it as well as show like count on a comment

Description of Task to be completed?

  • Ensure that user can view comments on an article and the author of the comment
  • Ensure on each comment we provide a count of the likes it has received

How should this be manually tested?

  • Clone the repo and cd into Ah-backend-aquaman

  • git checkout bg-fix-edit-history-164824176

  • pip install -r requirements.txt

  • python manage.py makemigrations

  • python manage.py migrate

  • python manage.py runserver

  • Register and then login into the system

  • The below endpoint will be used

    Get an article
    GET http://127.0.0.1:8000/api/articles/articleslug
    
    Get a comment
    GET http://127.0.0.1:8000/api/articleslug/comments/commentID
    

Any background context you want to provide?
N/A

What are the relevant pivotal tracker stories?

- Ensure article displays comments related to it and there authors
- Add like count to a comment on an article
[Starts #164847589]
@codeclimate
Copy link

codeclimate bot commented Mar 23, 2019

Code Climate has analyzed commit 5db38e4 and detected 0 issues on this pull request.

View more on Code Climate.

@marthamareal marthamareal merged commit 961c81c into develop Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants