1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #26821 -- Fixed forms.Email/URLField crash on None value.

This commit is contained in:
Priy
2016-07-03 16:41:59 +02:00
committed by Tim Graham
parent d44afd8892
commit a7b5dfd170
4 changed files with 27 additions and 7 deletions

View File

@@ -334,6 +334,10 @@ Miscellaneous
new :meth:`.AbstractUser.clean` method so that normalization is applied in
cases like model form validation.
* ``EmailField`` and ``URLField`` no longer accept the ``strip`` keyword
argument. Remove it because it doesn't have an effect in older versions of
Django as these fields alway strip whitespace.
.. _deprecated-features-1.11:
Features deprecated in 1.11