mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Refactor rolling stock
This commit is contained in:
@@ -15,7 +15,7 @@ class RosterGet(RetrieveAPIView):
|
||||
lookup_field = 'uuid'
|
||||
|
||||
|
||||
class RosterAddress(RetrieveAPIView):
|
||||
class RosterAddress(ListAPIView):
|
||||
queryset = RollingStock.objects.all()
|
||||
serializer_class = RollingStockSerializer
|
||||
lookup_field = 'address'
|
||||
|
Reference in New Issue
Block a user