burke-software / django-mass-edit

Make bulk changes in the Django admin interface
152 stars 67 forks source link

Track errors across all forms and provide feedback via messages to user. #118

Open derek-richard opened 6 months ago

derek-richard commented 6 months ago

It can be difficult for users to see what the underlying problem is when a mass edit fails. Often, its because the data is not correctly supplied to a form. In one case I had, tracking all the form messages allowed me to find an "edge case" in the model's clean() function that was preventing the mass edit completing properly.

The proposed patch does not change any of the core logic but only adds an extra tracking functionality so users can get feedback on any failures via Django's messaging framework.

erikhubers commented 3 months ago

It would be amazing if this change could be merged in.