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

Followup to set_context removal #7076

Merged
merged 4 commits into from Dec 11, 2019

Commits on Dec 5, 2019

  1. Raise framework-specific deprecation warnings

    - Use `RemovedInDRF313Warning` instead of DeprecationWarning
    - Update to follow deprecation policy
    rpkilby committed Dec 5, 2019
    Copy the full SHA
    988f5b2 View commit details
    Browse the repository at this point in the history
  2. Pass serializer instead of model to validator

    The `UniqueTogetherValidator` may need to access attributes on the
    serializer instead of just the model instance. For example, this is
    useful for handling field sources.
    rpkilby committed Dec 5, 2019
    Copy the full SHA
    d09a612 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    91563ba View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ed5839d View commit details
    Browse the repository at this point in the history