forked from django-tastypie/django-tastypie
-
Notifications
You must be signed in to change notification settings - Fork 0
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
FIKA-2582: Upgrade to v0.14.6 #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* tests: Test against Django 3.1 and 3.2 * flake8: Move doctest import to top of file * django: Set SECURE_REFERRER_POLICY = None to restore Django<3.1 behavior * tests: Don't use private method _headers * Update authentication, remove old salt/unsalt compat from django 1.10 * Drop python 2, django 1.11 support Yet another travis fix Fix travis * Compat shim for CSRF token comparison. * Remove is_authenticated compat shim * Silence several warnings Silence path warning * Firehose the travis/tox config * flake8 Co-authored-by: James McKinney <[email protected]>
* Add support for Django 4.0 * Migrate from travis-ci to github actions
* Test github actions badge * stop letting coveralls break builds for 0% change
…related resources (django-tastypie#1628) * Added a test case for issue django-tastypie#1627 save failure when a single resource is used with multiple other resource * Fixed the test case data to contain the correct data to demonstrate the issue * Fixed an issue where the bundle object identifier with unsaved objects could cause a data loss prevention exception to be thrown due to the create identifier function returning the same value for all unsaved objects. It is now regenerated once saved and stored in the saved_objects list. * Updated authors for PR django-tastypie#1628 * Fixed new lines issues for code style check
* Add action to automatically approve new contributor build actions * Quick fix for upstream flake8 change * unstage
* Update to support Django 4.1 Django 4.1 has changed the name of _sanitize_token to _check_token_format - handle the case(s) where the new name is required to be imported, rather than the old one. * Update authors * Update tox.ini to add django 4.1 Add django 4.1 to the tests * Add Django 4.1 to the workflows * Add in Django 4.1 support to the readme * Re-add in 4.0 for completeness * Remove Python 3.7 from the docs test for Certain django versions don't support the old python versions * Update the cookbook.rst file to store the inlines as a list consistently * Django removed the _sanitize_token function (which returned a new token) and replaced it with a new function called _check_token_format. The signature of these two functions is different, handle both cases for backwards compatibility * Several other changes to support Django 4.1 * Address flake errors * fix flake error * update to use a new check_token_format function from compat.py * Flake issues addressed.. * Fix the flake error - my flake formatter adds two blank lines after an import, but flake doesn't like that when it's inline with other code - it just wants one * missed on reference to the old way of doing things * fix the import of the check_token_format function * Be more deliberate with the import based on the version of Django in use. * Same import issue
* Drop Django 2.2 from tox and github action * Pin ubuntu 20.04 * Update to python action v4 * Fix deps missing for docs
* Remove unused mock library from test requirements * Another last trace of mock library
* Update test matrix for django 4.2 * Exclude py3.6-dj4.2
* Fix flake8, update docs, fix RTD builds * One more flake8
* Update authors * Remove Python 3.7 from the docs test for * Update the cookbook.rst file to store the inlines as a list consistently * switch the docs so we don't have a version issue * exclude python 3.6 for django 5 * Remove CryptPasswordHasher for django versions greater than 4.2 * remove 3.9/django 5 combo * Refactor code to properly use datetime.timezone.utc rather than the deprecated django.utils.timezone.utc * add in compat functionality to monkey-patch timezone to have a utc attribute/alias
rundqvistElias
approved these changes
Feb 7, 2024
Released as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade to latest 0.14.6 while supporting custom patch.