1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.

This commit is contained in:
Chris Lamb
2016-08-17 21:09:50 +01:00
committed by Tim Graham
parent 3d0a3c5fff
commit 97513269d7
3 changed files with 13 additions and 3 deletions

View File

@@ -28,7 +28,8 @@ Bugfixes
(:ticket:`27005`).
* Fixed the ``isnull`` lookup on a ``ForeignKey`` with its ``to_field``
pointing to a ``CharField`` (:ticket:`26983`).
pointing to a ``CharField`` or pointing to a ``CharField`` defined with
``primary_key=True`` (:ticket:`26983`).
* Prevented the ``migrate`` command from raising
``InconsistentMigrationHistory`` in the presence of unapplied squashed