From 0425a943fa15a8d4fc9aeb02738ee105db5cdcca Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Sun, 31 Mar 2019 09:40:19 +0600 Subject: [PATCH] fix deprecation warning --- tests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/models.py b/tests/models.py index 17bf23cda..7708fd88b 100644 --- a/tests/models.py +++ b/tests/models.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import uuid from django.db import models -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ class RESTFrameworkModel(models.Model):