summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-07-04 15:19:33 +0200
committerClaude Paroz <claude@2xlibre.net>2013-07-05 19:30:08 +0200
commita9dd6221af2148410c8a26dcbafd1ff8cc0fb107 (patch)
treebc246344db3a47a6d2340bb6429bd0dbed0f8d20 /docs/topics/auth
parent430aae1b0db9fbcc15415b7bd9a14df1d88359cf (diff)
[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__
Thanks Marc Tamlyn and Tim Graham for the review. Backport of 7442eb1a24 from master.
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/customizing.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index eb2fff05f5..18c30122fc 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -1002,6 +1002,7 @@ authentication app::
# The user is identified by their email address
return self.email
+ # On Python 3: def __str__(self):
def __unicode__(self):
return self.email