Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1884 closed enhancement (fixed)

[patch] Make django.db.models.options.get_verbose_name smarter

Reported by: Alex Dedul Owned by: adrian
Component: Metasystem Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When you have model named like VPNAccount current get_verbose_name function results in "v p n account" so your permission names and content_type name looks not so good, while its apparent that you expect "vpn account". Patch below is to fix this behavoiur to saner one.

Attachments (1)

get_verbose_name.patch (611 bytes) - added by Alex Dedul 8 years ago.
get_verbose_name patch

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Alex Dedul

get_verbose_name patch

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2909]) Fixed #1884 -- Made django.db.models.options.get_verbose_name smarter. Thanks, Alex Dedul

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.