diff options
| author | m-aciek <m-aciek@users.noreply.github.com> | 2020-01-24 07:57:46 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-01-24 07:57:46 +0100 |
| commit | 4316e0577903956b156dbac3d2795c91e35e9d47 (patch) | |
| tree | 6406d5572787d3de96773bcfa760a5cfc84bdd32 /blog | |
| parent | 485be017f9fe0d9ad4c94c683e622030d097c931 (diff) | |
Replaced deprecated django.utils.translation functions.
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/models.py b/blog/models.py index 0c4b0c0a..72f5fa73 100644 --- a/blog/models.py +++ b/blog/models.py @@ -6,7 +6,7 @@ from django.db import models from django.test import RequestFactory from django.utils import timezone from django.utils.cache import _generate_cache_header_key -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django_hosts.resolvers import reverse from docutils.core import publish_parts |
