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

Remove set_rollback() from compat #5591

merged 2 commits into from Nov 14, 2017


Copy link

@rpkilby rpkilby commented Nov 13, 2017

  • Remove Django < 1.6 compatibility code from set_rollback() and associated tests
  • Move set_rollback() to views (as it's only used by the exception handler)

Copy link

xordoquy commented Nov 13, 2017

Makes sense.
Do we have a test case that covers a rollback somewhere in the test suite ?

Copy link
Member Author

rpkilby commented Nov 13, 2017

@xordoquy - it's indirectly covered in tests/

Copy link

@carltongibson carltongibson left a comment

Yep. Looks good.

@carltongibson carltongibson added this to the v3.7.4 milestone Nov 14, 2017
@carltongibson carltongibson merged commit 15024f3 into encode:master Nov 14, 2017
1 check passed
Copy link

xordoquy commented Nov 14, 2017

@rpkilby nice work !

@rpkilby rpkilby deleted the rollback-compat branch Nov 14, 2017
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
* Remove Django 1.6 transaction compat

* Move set_rollback from compat => views
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants