Skip to content

Commit

Permalink
Merge pull request #64 from eblume/patch-1
Browse files Browse the repository at this point in the history
Fix "RemovedInDjango40Warning: force_text()..." warning
  • Loading branch information
martinrusev authored Sep 1, 2020
2 parents 260b9f3 + cea49f4 commit 1439306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_sessions/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
try:
from django.utils.encoding import force_unicode
except ImportError: # Python 3.*
from django.utils.encoding import force_text as force_unicode
from django.utils.encoding import force_str as force_unicode
from django.contrib.sessions.backends.base import SessionBase, CreateError
from redis_sessions import settings

Expand Down

0 comments on commit 1439306

Please sign in to comment.