Files
postgres-web/pgweb
Magnus Hagander 5d0b64a5ab Re-implement modification notifications in simple_form
The way signals are sent for many2many apparently changed completely
between the python2 and python3 versions of the same Django version,
which broke the way we did this before. And it was always a bit of a
hack...

Instead, reimplement notifications in the simple_form handler. This now
also consolidates regular field notificationss and many2many
notifications in a much cleaner way.

This will, however, *only* have an effect on changes made through
simple_form. Luckily that's the most common way we handle forms, with
the exception being /admin/. So leave the old code in place to handle
the changes through /admin/, as well as the deletion of objects.

In the end the only thing lost is the ability to get m2m differences
when an admin makes changes, and that's the least important of all
notification. And as a bonus, the regular change notifications and in
particular "new item" notifications look a lot nicer.
2019-01-26 16:19:26 +01:00
..
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2019-01-26 16:19:26 +01:00
2016-11-14 17:07:58 +00:00
2016-06-23 17:59:45 +02:00
2019-01-26 16:19:26 +01:00
2019-01-17 20:49:33 +01:00