django-jazzmin icon indicating copy to clipboard operation
django-jazzmin copied to clipboard

How to see the recent changes along with model/table names,

Open mcvpraveen opened this issue 11 months ago • 4 comments

How to enable to see from which app these recent changes have been done? This info can be seen from the default Django admin. Please check the screenshots.

Screenshot 2024-03-19 at 4 01 44 PM Screenshot 2024-03-19 at 4 03 53 PM

mcvpraveen avatar Mar 19 '24 10:03 mcvpraveen

This seems to be an issue with delete events, as other events are showing.

There seems to be explicit logic to ignore which model change for delete events: https://github.com/farridav/django-jazzmin/blob/999d7699b7afd00ecba66db4804da47963ffb269/jazzmin/templates/admin/index.html#L107-L120

Maybe @farridav know more behind the reasoning for this.

jamesgilmorelyst avatar Mar 23 '24 15:03 jamesgilmorelyst

I think that the Django version at the time had either no information for deleted events, or it was largely useless.

That said, I'm not against us restoring this, we will just need to ensure that it renders correctly and makes sense finally Django versions..

farridav avatar Mar 23 '24 17:03 farridav

@farridav @jamesgilmorelyst The issue is not only with deleted events; changing events also only provide a hyperlink without indicating the table in which the change occurred. To determine this, we must open the hyperlink and view the row details page. Can you please make the changes to show the table names also in all recent action events?

mcvpraveen avatar Mar 27 '24 19:03 mcvpraveen

Sure, the goal is to enhance the stock admin, so we will aim to replicate the Django default behaviour and not degrade it

farridav avatar Mar 27 '24 19:03 farridav