document response_type_descriptions needs to be a list
This commit is contained in:
parent
036c4fc9b3
commit
64a8b935e6
|
@ -116,6 +116,7 @@ class Client(models.Model):
|
|||
return (response_type.value for response_type in self.response_types.all())
|
||||
|
||||
def response_type_descriptions(self):
|
||||
# return as a list, rather than a generator, so descriptions display correctly in admin
|
||||
return [response_type.description for response_type in self.response_types.all()]
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue