update views
This commit is contained in:
parent
df7ad948c1
commit
a33cacbe98
@ -12,6 +12,7 @@ class LocationViewSet(viewsets.ModelViewSet):
|
|||||||
queryset = Location.objects.all()
|
queryset = Location.objects.all()
|
||||||
serializer_class = LocationSerializer
|
serializer_class = LocationSerializer
|
||||||
|
|
||||||
|
|
||||||
class TableViewSet(viewsets.ModelViewSet):
|
class TableViewSet(viewsets.ModelViewSet):
|
||||||
queryset = Table.objects.all()
|
queryset = Table.objects.all()
|
||||||
serializer_class = TableSerializer
|
serializer_class = TableSerializer
|
||||||
|
Loading…
Reference in New Issue
Block a user