Changes between Version 2 and Version 3 of Ticket #36171
- Timestamp:
- Feb 4, 2025, 9:47:03 PM (6 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36171 – Description
v2 v3 16 16 Everytime an object is saved in the admin page, a `LogEntry` is also created. It seems that an issue occurs when `LogEntry` tries to use the object's `__str__`. 17 17 18 My guess is that the `to_python` method in the `CharField(Form)` performs a `strip()` process, causing the value entered in the admin page to be '' "instead of "". As a result, it is treated as `None`, and an issue occurs when `LogEntry` tries to use `__str__` on that value.18 My guess is that the `to_python` method in the `CharField(Form)` performs a `strip()` process, causing the value entered in the admin page to be " " instead of "". As a result, it is treated as `None`, and an issue occurs when `LogEntry` tries to use `__str__` on that value.