Skip to content

Comments

docs: Fix simple typo, idential -> identical#18

Open
timgates42 wants to merge 101 commits intoshrubberysoft:masterfrom
timgates42:bugfix_typo_identical
Open

docs: Fix simple typo, idential -> identical#18
timgates42 wants to merge 101 commits intoshrubberysoft:masterfrom
timgates42:bugfix_typo_identical

Conversation

@timgates42
Copy link

There is a small typo in tests/tests.py.

Should read identical rather than idential.

schinckel and others added 30 commits November 8, 2010 14:49
… 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.
This reverts commit 6e50176.

The change breaks tests and, by implication, backwards compatibility.
Make sure ObjectWrapper is considered internal and is optimized with slots.
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.
charettes and others added 30 commits November 8, 2018 10:05
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants