Skip to content

Commit

Permalink
Support serializing UUIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Apr 8, 2017
1 parent 772d479 commit 457319c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def has_more(self, context):

def get_result_value(self, result):
"""Return the value of a result."""
return result.pk
return str(result.pk)

def get_result_label(self, result):
"""Return the label of a result."""
Expand Down

0 comments on commit 457319c

Please sign in to comment.