django_admin_log table stores messages in different languages depending on which language was active while editing.
|Reported by:||dimyur27@…||Owned by:||Claude Paroz <claude@…>|
|Severity:||Normal||Keywords:||admin logs i18n|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||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 (24)
comment:1 Changed 2 years 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 20 months ago by jooyous
- Owner changed from nobody to jooyous
- Status changed from new to assigned
comment:9 follow-up: ↓ 10 Changed 16 months ago by jooyous
- Has patch set
- Needs tests set
- Owner jooyous deleted
- Patch needs improvement set
- Status changed from assigned to new
comment:21 Changed 5 weeks ago by Claude Paroz <claude@…>
- Owner set to Claude Paroz <claude@…>
- Resolution set to fixed
- Status changed from new to closed