From 6cd6d9b85f6834c152bf073f96b4bb34377a3a86 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 19 Oct 2006 21:55:08 +0000 Subject: [PATCH] Added note to docs/model-api.txt that EmailField has automatic maxlength=75 git-svn-id: http://code.djangoproject.com/svn/django/trunk@3910 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index 5524c76654..1aa8c811f4 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -188,7 +188,8 @@ JavaScript shortcuts. ~~~~~~~~~~~~~~ A ``CharField`` that checks that the value is a valid e-mail address. -This doesn't accept ``maxlength``. +This doesn't accept ``maxlength``; its ``maxlength`` is automatically set to +75. ``FileField`` ~~~~~~~~~~~~~