Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to avoid 'false' SwampDragon messages #206

Open
jpuntomarcos opened this issue May 5, 2016 · 0 comments
Open

How to avoid 'false' SwampDragon messages #206

jpuntomarcos opened this issue May 5, 2016 · 0 comments

Comments

@jpuntomarcos
Copy link

Hi,

Imagine this example in Django ORM:
myStudent.delete()

If the delete action violated a foreign key constraint, Django will generate an exception (which is correct) but SwampDragon will estimate that the object has been deleted and it will send a false "Object deleted" message to the client that is listening to the channel.

It is not happening when I modify a field and then call myStudent.save(), only happening with delete errors.

Any way to avoid this?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant