diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-02-21 23:44:35 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-02-21 23:44:35 +0000 |
| commit | 7f5d9ad661d65a869cd72b736250936a942d5d2b (patch) | |
| tree | 382df824981ed5a4baac135024532e5981d60222 /docs/ref/forms | |
| parent | 0d4726f5189ff2d138435fed223b91e6af167777 (diff) | |
Fixed #9764 - Updated EmailField and URLField to support IDN (Internationalized Domain Names). Thanks, UloPe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/fields.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 6440d2e63d..2541ea0f3d 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -482,6 +482,11 @@ Has two optional arguments for validation, ``max_length`` and ``min_length``. If provided, these arguments ensure that the string is at most or at least the given length. +.. versionchanged:: 1.2 + The EmailField previously did not recognize e-mail addresses as valid that + contained an IDN (Internationalized Domain Name; a domain containing + unicode characters) domain part. This has now been corrected. + ``FileField`` ~~~~~~~~~~~~~ @@ -707,6 +712,12 @@ Takes the following optional arguments: String used as the user-agent used when checking for a URL's existence. Defaults to the value of the ``URL_VALIDATOR_USER_AGENT`` setting. +.. versionchanged:: 1.2 + The URLField previously did not recognize URLs as valid that contained an IDN + (Internationalized Domain Name; a domain name containing unicode characters) + domain name. This has now been corrected. + + Slightly complex built-in ``Field`` classes ------------------------------------------- |
