'CityListViewSet' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method
The exception says it itself. You need a serializer_class
attribute. You have serializer
.
The exception says it itself. You need a serializer_class
attribute. You have serializer
.