summaryrefslogtreecommitdiff
path: root/docs/ref/validators.txt
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-01-26 20:58:33 +0100
committerClaude Paroz <claude@2xlibre.net>2017-02-07 09:04:04 +0100
commitc651331b34b7c3841c126959e6e52879bc6f0834 (patch)
tree3f93aeb92fc91dcc61649b46d9f26f7aaaff978b /docs/ref/validators.txt
parent4353640ea9495d58fabd0357253b82de3b069408 (diff)
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/ref/validators.txt')
-rw-r--r--docs/ref/validators.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt
index 635f76d1eb..50badc7222 100644
--- a/docs/ref/validators.txt
+++ b/docs/ref/validators.txt
@@ -16,7 +16,7 @@ different types of fields.
For example, here's a validator that only allows even numbers::
from django.core.exceptions import ValidationError
- from django.utils.translation import ugettext_lazy as _
+ from django.utils.translation import gettext_lazy as _
def validate_even(value):
if value % 2 != 0: