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

Recent actions model name not displayed #603

Open
mikebgrep opened this issue Oct 21, 2024 · 1 comment
Open

Recent actions model name not displayed #603

mikebgrep opened this issue Oct 21, 2024 · 1 comment

Comments

@mikebgrep
Copy link

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

@mikebgrep
Copy link
Author

mikebgrep commented Oct 22, 2024

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 👏

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