docs: Fix simple typo, idential -> identical#18
Open
timgates42 wants to merge 101 commits intoshrubberysoft:masterfrom
Open
docs: Fix simple typo, idential -> identical#18timgates42 wants to merge 101 commits intoshrubberysoft:masterfrom
timgates42 wants to merge 101 commits intoshrubberysoft:masterfrom
Conversation
… correctly and that `callable` objects can be wrapped to be retreived using the ORM. Prior to this patch attempting to update a Model instance with a `PickledObjectField` referencing a `django.db.Model` subclass (or any object with the `prepare_database_save`) property raised a `TypeError` and there was no way to retreive a stored object that was `callable` since the ORM would try to filter on the actual return value of the object instead of the object instead (this is a desired and documented behavior to allow `Model.objects.filter(datetime_field__gte=datetime.now)` to work correctly and is especially usefull when defining `limit_choices_to`).
Make sure objects such as `django.db.models.Model` subclasses can be pickled correctly and `callable` objects can be wrapped to be retreived using the ORM.
Updated tests.
This reverts commit 6e50176. The change breaks tests and, by implication, backwards compatibility.
Make sure ObjectWrapper is considered internal and is optimized with slots.
Python 3 support
The django's bundled simplejson module is pending deprecation as of version 1.5 and will be totally removed in 1.7. We should favor the built-in version in all cases.
Favor the built-in json module.
Model instances with no primary-key are not equal to each other anymore.
Fix RemovedInDjango30Warning on Django > 2.0
This is the layout used for all the third-party apps I maintain.
That enforces the usage of `null=True` to store empty values.
Add official support for Django 2.2.
There is a small typo in tests/tests.py. Should read `identical` rather than `idential`.
This file contains hidden or 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
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.
There is a small typo in tests/tests.py.
Should read
identicalrather thanidential.