Browse Source

add assignee field for ticket (#4104)

pull/4105/head
Eric_Lee 5 years ago committed by GitHub
parent
commit
5bea782b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/tickets/serializers/ticket.py

2
apps/tickets/serializers/ticket.py

@ -13,7 +13,7 @@ class TicketSerializer(serializers.ModelSerializer):
model = models.Ticket model = models.Ticket
fields = [ fields = [
'id', 'user', 'user_display', 'title', 'body', 'id', 'user', 'user_display', 'title', 'body',
'assignees', 'assignees_display', 'assignees', 'assignees_display', 'assignee', 'assignee_display',
'status', 'action', 'date_created', 'date_updated', 'status', 'action', 'date_created', 'date_updated',
'type', 'type_display', 'action_display', 'type', 'type_display', 'action_display',
] ]

Loading…
Cancel
Save