Code

Opened 7 years ago

Closed 7 months ago

#6159 closed New feature (fixed)

Reusable templatetags for admin list

Reported by: Petr Marhoun <petr.marhoun@…> Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Normal Keywords: nfa-someday
Cc: bruno@… Triage Stage: Someday/Maybe
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Templatetags from django.contrib.admin.templatetags.admin_list.py implement some useful functions but they cannot be used by other code - templatetags has same names as functions. But it is not necessary to have names for templatetags. It would be nice to remove these assignments.

Attachments (1)

00-admin-list-reusable-templatetags.diff (2.1 KB) - added by Petr Marhoun <petr.marhoun@…> 7 years ago.

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by Petr Marhoun <petr.marhoun@…>

comment:1 Changed 7 years ago by brosner

  • Keywords nfa-someday list_filter FilterSpec added; nfs-someday removed
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Retagging to nfa-someday and not nfs ;)

comment:2 Changed 7 years ago by brosner

  • Keywords list_filter FilterSpec removed

Whoops, Safari auto-completed for me from a previous ticket.

comment:3 Changed 6 years ago by jacob

  • Triage Stage changed from Unreviewed to Someday/Maybe

comment:4 Changed 3 years ago by gabrielhurley

  • Severity set to Normal
  • Type set to New feature

comment:5 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:6 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:7 Changed 7 months ago by bruno@…

  • Cc bruno@… added

This ticket could be closed as fixed by now - the proposed changes have been applied.

comment:8 Changed 7 months ago by claudep

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

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.