from tastypie.resources import ModelResource
from tastypie.serializers import Serializer
from .models import Station


class StationResource(ModelResource):
    class Meta:
        queryset = Station.objects.all()
        resource_name = 'station'
        filtering = {
            'id': ('exact', ),
        }
        serializer = Serializer(formats=['json'])

@@ -241,16 +241,118 @@
 tation'%0A
+        serializer = Serializer(formats=%5B'json'%5D)%0A        limit = 200  # show all stations by default%0A
         
@@ -410,54 +410,4 @@
   %7D%0A
-        serializer = Serializer(formats=%5B'json'%5D)%0A

return all stations by default