Skip to content

Commit

Permalink
Merge pull request #1443 from chris48s/defer_area
Browse files Browse the repository at this point in the history
exclude area column on councils list route
  • Loading branch information
chris48s authored Nov 30, 2018
2 parents 35058ff + 73f9549 commit 22219cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polling_stations/apps/api/councils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Meta:


class CouncilViewSet(ReadOnlyModelViewSet):
queryset = Council.objects.all()
queryset = Council.objects.all().defer("area")
serializer_class = CouncilDataSerializer

@detail_route(url_path='geo')
Expand Down

0 comments on commit 22219cb

Please sign in to comment.