diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-30 15:45:03 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-01 13:30:52 -0500 |
| commit | 40a85043576f6d163a2a05721a4b2710261fc4f5 (patch) | |
| tree | 5dc6b7e197b5aa0953223f28029609edce4fb66b /docs | |
| parent | a7aaabfaf1fa4c20065ab1133d49f40d4de6b409 (diff) | |
Fixed #23891 -- Moved deprecation of IPAddressField to system check framework.
Thanks Markus Holtermann for review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/ref/checks.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.7.2.txt | 5 |
3 files changed, 9 insertions, 1 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 70db0c0497..14422c3cc8 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -159,7 +159,8 @@ details on these changes. is loaded. In particular, it won't be possible to import models inside the root package of their application. -* The model and form ``IPAddressField`` will be removed. +* The model and form ``IPAddressField`` will be removed. A stub field will + remain for compatibility with historical migrations. * ``AppCommand.handle_app()`` will no longer be supported. diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 03e74ecd1a..b519b0afab 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -95,6 +95,8 @@ Fields * **fields.E160**: The options ``auto_now``, ``auto_now_add``, and ``default`` are mutually exclusive. Only one of these options may be present. * **fields.W161**: Fixed default value provided. +* **fields.W900**: ``IPAddressField`` has been deprecated. Support for it + (except in historical migrations) will be removed in Django 1.9. File Fields ~~~~~~~~~~~ diff --git a/docs/releases/1.7.2.txt b/docs/releases/1.7.2.txt index 3b614ed7ab..3df4bc7364 100644 --- a/docs/releases/1.7.2.txt +++ b/docs/releases/1.7.2.txt @@ -192,3 +192,8 @@ Bugfixes * Prevented a crash on apps without migrations when running ``migrate --list`` (:ticket:`23366`). + +* The deprecation of ``IPAddressField`` is now handled through the system + check framework (with error code ``fields.W900``) so that deprecation + warnings aren't displayed if the field only appears in historical migrations + (:ticket:`23891`). |
