[Django] #29805: no documentation for changing django admin breadcrumbs

6 views
Skip to first unread message

Django

unread,
Sep 28, 2018, 3:59:35 PM9/28/18
to django-...@googlegroups.com
#29805: no documentation for changing django admin breadcrumbs
-------------------------------------+-------------------------------------
Reporter: Ben | Owner: nobody
Tiessen |
Type: New | Status: new
feature |
Component: | Version: 2.1
contrib.admin | Keywords: breadcrumbs
Severity: Normal | pagination
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
There is no documentation how to change the represented value of the
breadcrumb object selected in the django admin panel.

For example if you have a model named Project and an admin model named
ProjectAdmin associated with eachother clicking on a project object will
display it as a Object(1) inside of the breadcrumbs. You can find the
breadcrumbs by the id of #breadcrumbs in the html code generated.

The documentation does mention something related to list_display using the
__str__ method but its not clear that it affects the breadcrumbs:
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display

But it is documented on stack overflow.
https://stackoverflow.com/questions/29286783/breadcrumb-displaying-object-
name-object-in-adminmodel-editor

--
Ticket URL: <https://code.djangoproject.com/ticket/29805>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 29, 2018, 5:05:32 PM9/29/18
to django-...@googlegroups.com
#29805: no documentation for changing django admin breadcrumbs
-------------------------------------+-------------------------------------
Reporter: Ben Tiessen | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution:
Keywords: breadcrumbs | Triage Stage:
pagination | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Vishvajit Pathak):

* cc: Vishvajit Pathak (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/29805#comment:1>

Django

unread,
Oct 1, 2018, 9:58:42 AM10/1/18
to django-...@googlegroups.com
#29805: Add documentation for changing admin breadcrumbs
-------------------------------------+-------------------------------------

Reporter: Ben Tiessen | Owner: nobody
Type: New feature | Status: closed
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: wontfix

Keywords: breadcrumbs | Triage Stage:
pagination | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => wontfix
* component: contrib.admin => Documentation


Comment:

I don't think it's something that must be documented. An experienced
Django user can take a look at the templates to see how things work.

--
Ticket URL: <https://code.djangoproject.com/ticket/29805#comment:2>

Django

unread,
Oct 9, 2019, 6:36:29 AM10/9/19
to django-...@googlegroups.com
#29805: Add documentation for changing admin breadcrumbs
-------------------------------------+-------------------------------------

Reporter: Ben Tiessen | Owner: nobody
Type: New feature | Status: closed
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: wontfix
Keywords: breadcrumbs | Triage Stage:
pagination | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Thomas Güttler):

Here is an other way to set breadcrumbs in django admin:
https://stackoverflow.com/a/58302208/633961

--
Ticket URL: <https://code.djangoproject.com/ticket/29805#comment:3>

Reply all
Reply to author
Forward
0 new messages