-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Django Model EndpointSet mixin #11
Merged
Merged
Commits on Jun 29, 2016
-
Add common logic to EndpointSet.prepare()
Also add convenience methods for obtaining PK, resource object model, and resource object queryset.
Configuration menu - View commit details
-
Copy full SHA for d5e7c82 - Browse repository at this point
Copy the full SHA d5e7c82View commit details
Commits on Jun 30, 2016
-
Implement
prepare()
and helper methods as mixinEndpointSet-based class can inherit this mixin to automatically retrieve Django model objects.
Configuration menu - View commit details
-
Copy full SHA for 570d207 - Browse repository at this point
Copy the full SHA 570d207View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c91178 - Browse repository at this point
Copy the full SHA 3c91178View commit details -
Update test EndpointSet inheritance.
Test ResourceEndpointSets now inherit from DjangoModelEndpointSetMixin rather than provide their own `get_queryset()` and `prepare()` methods.
Configuration menu - View commit details
-
Copy full SHA for dbd2311 - Browse repository at this point
Copy the full SHA dbd2311View commit details
Commits on Jul 5, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9fda210 - Browse repository at this point
Copy the full SHA 9fda210View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cee18b - Browse repository at this point
Copy the full SHA 3cee18bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0451757 - Browse repository at this point
Copy the full SHA 0451757View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c04e7 - Browse repository at this point
Copy the full SHA 31c04e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e9f560 - Browse repository at this point
Copy the full SHA 7e9f560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 711a03c - Browse repository at this point
Copy the full SHA 711a03cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.