Opened 14 years ago

Closed 14 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: no UI/UX: no

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 by Łukasz Rekucki, 14 years ago

Resolution: invalid
Status: newclosed

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