Skip to content

Commit

Permalink
Merge pull request #44 from fgs-dbudwin/DeprecatedWarningFix
Browse files Browse the repository at this point in the history
Resolve RemovedInDjango40Warning warning in Django 3
  • Loading branch information
belugame authored Nov 11, 2020
2 parents 8797fc7 + f7b7c95 commit 5b0cc2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ differences (as of django-cuser v.2017.3.16):

Release Notes
-------------
* 0.5.2 - Fixed Django deprecation warning about using `ugettext_lazy()`

* 0.5.1 - add support for Django 3.1 and Python 3.8

* 0.5.0
Expand Down
2 changes: 1 addition & 1 deletion django_currentuser/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.1'
__version__ = '0.5.2'
2 changes: 1 addition & 1 deletion django_currentuser/db/models/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,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 _
from django_currentuser.middleware import get_current_authenticated_user


Expand Down

0 comments on commit 5b0cc2e

Please sign in to comment.