Opened 10 years ago

Closed 10 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


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/ ) to refere to ModeAdmin objects in templates.
Is there any pitfall in the security point of view ?

Change History (1)

comment:1 Changed 10 years ago by Łukasz Rekucki

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