From 976bd519a879b2fd7a356cb21bde32696adb545f Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 23 Oct 2015 20:00:03 -0400 Subject: Revert "Fixed #25417 -- Added a field check for invalid default values." This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69. --- docs/ref/checks.txt | 1 - docs/releases/1.9.txt | 3 --- 2 files changed, 4 deletions(-) (limited to 'docs') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index f0cf952ffd..cf93a61c79 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -141,7 +141,6 @@ Fields human readable name)`` tuples. * **fields.E006**: ``db_index`` must be ``None``, ``True`` or ``False``. * **fields.E007**: Primary keys must not have ``null=True``. -* **fields.E008**: Invalid ``default`` value. * **fields.E100**: ``AutoField``\s must set primary_key=True. * **fields.E110**: ``BooleanField``\s do not accept null values. * **fields.E120**: ``CharField``\s must define a ``max_length`` attribute. diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index c526825174..c45b6c03bd 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -542,9 +542,6 @@ Models * ``connection.queries`` shows queries with substituted parameters on SQLite. -* Added a new model field check that makes sure - :attr:`~django.db.models.Field.default` is a valid value. - * :doc:`Query expressions ` can now be used when creating new model instances using ``save()``, ``create()``, and ``bulk_create()``. -- cgit v1.3