django_admin_log table stores messages in different languages depending on which language was active while editing.
|Reported by:||dimyur27@…||Owned by:||jooyous|
|Severity:||Normal||Keywords:||admin logs i18n|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In my project (in development) there are 3 different languages supported. Admin site supposed to have 3 main superusers, each is a native speaker of one of the languages. If one superuser edited an object, another one is not able to read what his fellow superuser previously did, because "Change history" page doesn't respect the current user language and displays the messages in the language that was current when the changes took place.
Maybe change_message field should be removed and the messages generated each time they are displayed.
So is object_repr, because object's representation may be dependant on the current language too.
Change History (7)
comment:1 Changed 10 months ago by wim@…
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
- Version changed from 1.6-beta-1 to master
comment:3 Changed 3 weeks ago by jooyous
- Owner changed from nobody to jooyous
- Status changed from new to assigned