in django admin the views that show the register’s just have
a link to “edit”, but what happen if a need an extra(S) links to
another views?
for example:
i have view that show the list of registered People, the nick is
linking to the Edit page (the normal way of Django), but i need
another links that will show me the “articles” of the people and
another the “comments” of the people.
how ill make this with django admin?
Thanks
in django admin the views that show the register’s just have a link to
Share
(I’m assuming some field names from your models to answer)
Make the author field from “comment” searchable:
Use list_display and HTML to control what’s displayed on the people’s list admin page:
And change
/admin/pathto/comments/to whatever your comment’s admin list page is.Basically you’re going to direct your users to the comments search result page.