mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-08-10 15:27:40 +02:00
PEP8 formatting fixes
This commit is contained in:
@ -344,6 +344,7 @@ ORDER_COLUMN_CHOICES = Choices(
|
|||||||
('8', 'assigned_to')
|
('8', 'assigned_to')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def query_tickets_by_args(objects, order_by, **kwargs):
|
def query_tickets_by_args(objects, order_by, **kwargs):
|
||||||
"""
|
"""
|
||||||
This function takes in a list of ticket objects from the views and throws it
|
This function takes in a list of ticket objects from the views and throws it
|
||||||
|
@ -10,6 +10,7 @@ datatables for ticket_list.html. Called from staff.datatables_ticket_list.
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
class TicketSerializer(serializers.ModelSerializer):
|
class TicketSerializer(serializers.ModelSerializer):
|
||||||
ticket = serializers.SerializerMethodField()
|
ticket = serializers.SerializerMethodField()
|
||||||
assigned_to = serializers.SerializerMethodField()
|
assigned_to = serializers.SerializerMethodField()
|
||||||
|
Reference in New Issue
Block a user