Opened 17 years ago
Closed 17 years ago
#6438 closed (duplicate)
contrib/admin/util.py not importing gettext on newforms admin
Reported by: | sdistefano | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | newforms-admin |
Severity: | Keywords: | gettext newforms delete | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It can reproduced by trying to delete eany object in the admin.
A simple
from django.utils.translation import ugettext as _
at the top of contrib/admin/util.py fixes the problem.
Note:
See TracTickets
for help on using tickets.
duplicate of #5661