Conversation
nuest
left a comment
There was a problem hiding this comment.
I added a few comments, please take a look.
Also, the tests are still missing. Since you're working against API endpoints, I'm fine with tests directly talking to the API, but UI-based tests (or both) would be even better.
|
@uxairibrar Sorry if I interrupted your development flow with my question. Please let me know when the PR is ready for review! An in the future: what about you converting a PR back to "draft" when you are pushing changes piecewise? |
Yes, sure, it will be easy for both of us. However I also added the UI test for this PR, I think it is ready to be reviewed. |
nuest
left a comment
There was a problem hiding this comment.
A few comments here and there, but I'm happy overall.
publications/views.py
Outdated
| messages.error(request, "You are not authorized to delete this account.") | ||
| return redirect(reverse('optimap:main')) | ||
|
|
||
| user = get_object_or_404(User, id=user_id) |
There was a problem hiding this comment.
The user object here is not used at all.
There was a problem hiding this comment.
I have removed it
Closes #25