farridav/django-jazzmin

Recent actions model name not displayed

Opened this issue · 1 comments

Hi, I am trying to figure this out. I have __str__ method on my model, and on recent actions, I don't see the name. Instead, object(#) is displayed.In the object manu all is ok.
Screenshot_20241021_194237_Chrome.png

I found what the issue is and why the __str__ value is not displayed.
I added the method after I created the entries, and that's why they are not updated with the name.

This is on 3.0.1 and will be good if it can be included in further release..
After digging into the code, I found that this is normal as the repr method returns the value from the admin log table.
@farridav

Good work, by the way, with the project 👏