Beispiel #1
0
 def get_value(self, context, *tag_args, **tag_kwargs):
     # Query happens in the backend,
     # the templatetag is considered to be a frontend.
     qs = self.model.objects.all()
     qs = query_entries(qs, **tag_kwargs)
     return qs
 def get_value(self, context, *tag_args, **tag_kwargs):
     # Query happens in the backend,
     # the templatetag is considered to be a frontend.
     qs = self.model.objects.all()
     qs = query_entries(qs, **tag_kwargs)
     return qs