Changes between Version 2 and Version 3 of Ticket #36171


Ignore:
Timestamp:
Feb 4, 2025, 9:47:03 PM (6 hours ago)
Author:
Antoliny
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36171 – Description

    v2 v3  
    1616Everytime 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__`.
    1717
    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.
     18My 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.
Back to Top