Code

Opened 8 years ago

Closed 8 years ago

#2582 closed defect (fixed)

verbose_name can't contain quote (' ") symbols

Reported by: 235 Owned by: adrian
Component: contrib.admin Version: master
Severity: normal Keywords: verbose_name
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

seems that /media/js/SelectFilter2.js contain some bug, that doesn't give us ability to use quotes in verbose_name.
When we define verbose_name (in ManyToMany field) as

   verbose_name = ' "Read also" block '

classic field view in admin pannel defined by

   filter_interface=models.HORIZONTAL

brokes just to one many-select HTML field.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

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

(In [3649]) Fixed #2582 -- filter_interface now works on fields with verbose_name containing quotes. Thanks for reporting, 235

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.