colored orders + ping sound
This commit is contained in:
@ -83,7 +83,7 @@ class OrderViewSet(viewsets.ModelViewSet):
|
||||
serializer_class = OrderSerializer
|
||||
filter_backends = [DjangoFilterBackend, filters.OrderingFilter]
|
||||
filterset_fields = ['waiter']
|
||||
ordering = ['-updated_on']
|
||||
ordering = ['-created_on']
|
||||
|
||||
def get_queryset(self):
|
||||
five_minutes_ago = timezone.now() + datetime.timedelta(minutes=-5)
|
||||
|
Reference in New Issue
Block a user