PEP8 formatting fixes

This commit is contained in:
Garret Wassermann 2018-10-15 13:56:54 -04:00
parent fc028334d9
commit 2b11a0e11a
2 changed files with 11 additions and 9 deletions

View File

@ -344,6 +344,7 @@ ORDER_COLUMN_CHOICES = Choices(
('8', 'assigned_to')
)
def query_tickets_by_args(objects, order_by, **kwargs):
"""
This function takes in a list of ticket objects from the views and throws it

View File

@ -10,6 +10,7 @@ datatables for ticket_list.html. Called from staff.datatables_ticket_list.
"""
class TicketSerializer(serializers.ModelSerializer):
ticket = serializers.SerializerMethodField()
assigned_to = serializers.SerializerMethodField()