Bug fixing for consists

This commit is contained in:
2023-10-08 09:52:38 +02:00
parent c73efb01e4
commit 424b17ae58
5 changed files with 16 additions and 11 deletions

View File

@@ -347,10 +347,9 @@ class GetRollingStock(View):
class Consists(GetData):
def __init__(self):
self.title = "Consists"
self.item_type = "consist"
self.queryset = Consist.objects.all()
title = "Consists"
item_type = "consist"
queryset = Consist.objects.all()
class GetConsist(View):