Skip to content

Commit

Permalink
Replace ugettext_lazy -> gettext_lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
lnagel committed Apr 9, 2020
1 parent daa0515 commit d408d9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rest_framework_sso/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.conf import settings
from django.db import models

from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

# Prior to Django 1.5, the AUTH_USER_MODEL setting does not exist.
# Note that we don't perform this code in the compat module due to
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_sso/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import absolute_import, unicode_literals

from django.contrib.auth import authenticate
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from rest_framework import serializers

from rest_framework_sso.settings import api_settings
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name="djangorestframework-sso",
version="0.3.0",
version="0.3.1",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
license="MIT License",
Expand Down

0 comments on commit d408d9e

Please sign in to comment.