Skip to content

Commit f28eacd

Browse files
committed
Tastypie cannot serialize binary fields. Exclude from PersonalApiKey resource.
- Legacy-Id: 14434
1 parent 789b88d commit f28eacd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/person/resources.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ class Meta:
9090
queryset = PersonalApiKey.objects.all()
9191
serializer = api.Serializer()
9292
cache = SimpleCache()
93+
excludes = ['salt', ]
9394
#resource_name = 'personalapikey'
9495
filtering = {
9596
"id": ALL,

0 commit comments

Comments
 (0)