move comment so it is now visible in the html api preview

This commit is contained in:
Laura Klünder 2016-12-24 03:08:12 +01:00
parent c4c7e110f9
commit 9ea9a72bb2

View file

@ -162,8 +162,8 @@ class SourceViewSet(CachedReadOnlyViewSetMixin, ReadOnlyModelViewSet):
class LocationViewSet(ViewSet):
"""
List and retrieve locations
Dont cache this, because it depends on access_list
"""
# We don't cache this, because it depends on access_list
lookup_field = 'name'
include_package_access = True