Beispiel #1
0
 def get_instances(self, queryset, path, context):
     view_name = ""
     if path is not None:
         view_name = resolve_to_name(path)
     return queryset.filter(_view=view_name or "")
Beispiel #2
0
 def get_instances(self, queryset, path, context):
     view_name = ""
     if path is not None:
         view_name = resolve_to_name(path)
     return queryset.filter(_view=view_name or "")