I would like to filter Actions for particular queryset.
To this moment I was grabbing data by generating a model stream on desired model.
model_stream(FillingSystem)
I would like to extend this functionality and have something like this
model_stream(FillingSystem.objects.filter(client__slug='my-slug'))
or
model_stream(FillingSystem.objects.filter(client=Client.objects.get(slug='my-slug')))
this model looks like this:
class FillingSystem(models.Model):
client = models.ForeignKey('accounts.Client')
How do I filter a stream by related slug field?