#15810 closed New feature (duplicate)
Easy rename of apps in admin
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | app_label, admin |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
usage:
from django.contrib.admin.util import AppLabel class Meta: app_label = AppLabel('app_label','Title in admin')
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | dj_adm_add_applabel_class.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing as a duplicate of #3591. The bigger issue here is app configuration; renaming the app in the admin is just one part of a bigger problem.
follow-up: 3 comment:2 by , 14 years ago
I should also add -- #3591 was the subject of a Google Summer of Code project last year, and there's lots of interest in getting that work integrated into trunk in the 1.4 timeframe.
comment:3 by , 14 years ago
The bigger issue here is app configuration; renaming the app in the admin is just one part of a bigger problem.
I should also add -- #3591 was the subject of a Google Summer of Code project last year, and there's lots of interest in getting that work integrated into trunk in the 1.4 timeframe.
I've looked at #3591 before posting this. It's there since 4 years, patch changes a lot of code and tries to solve two problems at once:
- app paths
- give apps names
i've tried to solve only the second, minimal changes which are backwards compatible.
result is more like #10436 but with less changes
AppLabel('app_label',_('Translate me'))
patch which adds AppLabel to admin used to display app_label in a friendly way