django_admin_log table stores messages in different languages depending on which language was active while editing.
|Reported by:||dimyur27@…||Owned by:|
|Severity:||Normal||Keywords:||admin logs i18n|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||yes|
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 (10)
comment:1 Changed 23 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 14 months ago by jooyous
- Owner changed from nobody to jooyous
- Status changed from new to assigned
comment:9 follow-up: ↓ 10 Changed 10 months ago by jooyous
- Has patch set
- Needs tests set
- Owner jooyous deleted
- Patch needs improvement set
- Status changed from assigned to new