You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should make sure that instance_pk == subscription.view_kwargs['pk'] or similar (ie the instance that triggered the event is the same instance that is subscribed to).
The text was updated successfully, but these errors were encountered:
On a related note: I understood from the docs that action: "list", view_kwargs: {key: val}, would behave like .filter(key=val), but it too is returning instances that don't match that filter.
This subscription
returns changes made to any instance of
MyModel
.I stepped through the code.
django-rest-live/rest_live/consumers.py
Line 131 in 52047b6
does indeed return the correct object.
It seems to me that the issue is here:
django-rest-live/rest_live/consumers.py
Line 231 in 52047b6
This should make sure that
instance_pk == subscription.view_kwargs['pk']
or similar (ie the instance that triggered the event is the same instance that is subscribed to).The text was updated successfully, but these errors were encountered: