Opened 4 years ago

Closed 4 years ago

#15551 closed (invalid)

adding model_dict['admin'] = model_admin is good idea?

Reported by: hdknr Owned by: nobody
Component: contrib.admin Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'm customizing admin UI to add extra menus but I found it is not easy.
So thinking of adding "admin" to model_dict in index() and app_index() ( source:django/trunk/django/contrib/admin/sites.py ) to refere to ModeAdmin objects in templates.
Is there any pitfall in the security point of view ?

Change History (1)

comment:1 Changed 4 years ago by lrekucki

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Please post questions about using Django to django-users mailing list. Trac is for reporting bugs.

Note: See TracTickets for help on using tickets.
Back to Top