From 15ef1dd478c5b6f005e5f782b7619f718ed55e84 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 28 Oct 2015 15:59:17 -0400 Subject: Fixed #20846 -- Increased User.username max_length to 254 characters. Thanks Collin Anderson and Nick Sandford for work on the patch. --- docs/ref/contrib/auth.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 6cbfd88ac6..6ca2581397 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -21,9 +21,13 @@ Fields .. attribute:: username - Required. 30 characters or fewer. Usernames may contain alphanumeric, + Required. 254 characters or fewer. Usernames may contain alphanumeric, ``_``, ``@``, ``+``, ``.`` and ``-`` characters. + .. versionchanged:: 1.10 + + The ``max_length`` increased from 30 to 254 characters. + .. attribute:: first_name Optional. 30 characters or fewer. -- cgit v1.3