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

Create Rest Serializers and Views for UserTool model #16

Open
destos opened this issue Oct 4, 2018 · 0 comments
Open

Create Rest Serializers and Views for UserTool model #16

destos opened this issue Oct 4, 2018 · 0 comments
Labels
good first issue Good for newcomers refinement needed Issues that need more attention
Milestone

Comments

@destos
Copy link
Contributor

destos commented Oct 4, 2018

Most changes should be in the tools app
Views should go in an api_views.py if not yet created.

This endpoint can be used by all authenticated users to view, update and create tools with the relevant visibility options. Mainly for external application integration with tools that are stored within toolhub.

When creating a new UserTool, the requesting user should automatically be used as the owner.
The API should also allow you to supply a user to be used as the owner if they have the correct permissions. This would be a custom permission and possibly tied to staff user status.

It should attempt to save as many of the fields as possible. Might have to move photo upload to a separate endpoint.

@destos destos added good first issue Good for newcomers refinement needed Issues that need more attention labels Oct 4, 2018
@destos destos added this to the MVP milestone Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers refinement needed Issues that need more attention
Projects
None yet
Development

No branches or pull requests

1 participant