Skip to content
Snippets Groups Projects
Commit 962eeacf authored by Marco Frailis's avatar Marco Frailis
Browse files

Fixing url-filter fields

parent b55bfa29
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ class NispRawFrameFilterSet(ModelFilterSet):
class Meta:
model = NispRawFrame
fields = [f.name for f in NispRawFrame._meta.get_fields()
if hasattr(f, 'serialize') and f.serialize]
if not hasattr(f, 'subfields')]
class NispRawFrameViewSet(viewsets.ReadOnlyModelViewSet):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment