Opened 6 years ago

Closed 6 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:


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

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
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