Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15810 closed New feature (duplicate)

Easy rename of apps in admin

Reported by: aatanasov+django@… 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)

dj_adm_add_applabel_class.diff (5.7 KB ) - added by aatanasov+django@… 14 years ago.
patch which adds AppLabel to admin used to display app_label in a friendly way

Download all attachments as: .zip

Change History (4)

by aatanasov+django@…, 14 years ago

patch which adds AppLabel to admin used to display app_label in a friendly way

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: duplicate
Status: newclosed

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.

comment:2 by Russell Keith-Magee, 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.

in reply to:  2 comment:3 by anonymous, 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'))
Note: See TracTickets for help on using tickets.
Back to Top