Closed binaryblood closed 5 years ago
I will check this out! 👍
I've tried couldn't reproduce here. If you have this problem again, provide the code so we can reproduce. =]
I have seen this when I add objects in the admin before adding a __str__
method to the model class; new log entries after I add the method show the nice string version.
I suppose the admin log saves a string version of the object (rather than fetching the object and calling str
at display time).
yep @merwok! That's exactly what happens! xD
Recent Actions contains a bug. When I add a data for a model, the recent actions is not showing the value returned from
__str__()
method of the model. Instead it shows likePerson object(101)
,Employee object(121)
. But I see your screenshot displayingDocument 1
. Why is that happening? Whats the problem actually? I'm using Django 2.0.