diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-01-26 20:58:33 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2017-02-07 09:04:04 +0100 |
| commit | c651331b34b7c3841c126959e6e52879bc6f0834 (patch) | |
| tree | 3f93aeb92fc91dcc61649b46d9f26f7aaaff978b /docs/howto | |
| parent | 4353640ea9495d58fabd0357253b82de3b069408 (diff) | |
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-model-fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt index 500cf58eaa..54a62c50db 100644 --- a/docs/howto/custom-model-fields.txt +++ b/docs/howto/custom-model-fields.txt @@ -498,7 +498,7 @@ instances:: from django.core.exceptions import ValidationError from django.db import models - from django.utils.translation import ugettext_lazy as _ + from django.utils.translation import gettext_lazy as _ def parse_hand(hand_string): """Takes a string of cards and splits into a full hand.""" |
