From 748ea65a6180293c356faa3ff0e754cb1d678d14 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 11 Jun 2007 14:51:26 +0000 Subject: 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 --- docs/model-api.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/model-api.txt') 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 ```` (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`` ~~~~~~~~~~~~~~~~ -- cgit v1.3