summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-11 14:51:26 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-11 14:51:26 +0000
commit748ea65a6180293c356faa3ff0e754cb1d678d14 (patch)
tree542a590e521cfd639d1903a4968e75edd68e039d /docs/model-api.txt
parent0b4122d1387e3c793661c0828278a021364691d4 (diff)
unicode: Merged changes from trunk up to [5460].
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-rw-r--r--docs/model-api.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 0bba2db0a0..bef923ec33 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -447,6 +447,11 @@ and doesn't give a 404 response).
The admin represents this as an ``<input type="text">`` (a single-line input).
+``URLField`` takes an optional argument, ``maxlength``, the maximum length (in
+characters) of the field. The maxlength is enforced at the database level and
+in Django's validation. If you don't specify ``maxlength``, a default of 200
+is used.
+
``USStateField``
~~~~~~~~~~~~~~~~