Skip to content

Commit

Permalink
Merge pull request #3 from kviktor/PDW-1618-fix-dj-42
Browse files Browse the repository at this point in the history
PDW-1618 Django 4.2 compatibility
  • Loading branch information
ramonsaraiva authored Apr 2, 2024
2 parents eabf738 + 3fdc9eb commit 807acd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oauth2client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

"""Client library for using OAuth2, especially with Google APIs."""

__version__ = '4.1.4'
__version__ = '4.1.5'

GOOGLE_AUTH_URI = 'https://accounts.google.com/o/oauth2/v2/auth'
GOOGLE_DEVICE_URI = 'https://oauth2.googleapis.com/device/code'
Expand Down
2 changes: 1 addition & 1 deletion oauth2client/contrib/django_util/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_prep_value(self, value):
if value is None:
return None
else:
return encoding.smart_text(
return encoding.smart_str(
base64.b64encode(jsonpickle.encode(value).encode()))

def value_to_string(self, obj):
Expand Down

0 comments on commit 807acd0

Please sign in to comment.