Skip to content

Commit

Permalink
Remove context from convert_uuidfield_value
Browse files Browse the repository at this point in the history
Fix issue for anyone using uuid tpye after Django 2.0
  • Loading branch information
xavier-lr committed Sep 22, 2021
1 parent d15682d commit a88efdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_redshift_backend/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_db_converters(self, expression):
converters.append(self.convert_uuidfield_value)
return converters

def convert_uuidfield_value(self, value, expression, connection, context):
def convert_uuidfield_value(self, value, expression, connection):
if value is not None:
value = uuid.UUID(value)
return value
Expand Down

0 comments on commit a88efdf

Please sign in to comment.