mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Bug fixing for consists
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user