Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 306111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:26:13+00:00 2026-05-12T07:26:13+00:00

in django admin the views that show the register’s just have a link to

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:26:13+00:00Added an answer on May 12, 2026 at 7:26 am

    (I’m assuming some field names from your models to answer)

    Make the author field from “comment” searchable:

    class CommentAdmin(admin.ModelAdmin):
       search_fields = ("=author",)
    

    Use list_display and HTML to control what’s displayed on the people’s list admin page:

    def comments(obj):
        return ('<a href="/admin/pathto/comments/?q=%s">comments</a>' % obj.name)
    comments.short_description = 'comments'
    comments.allow_tags = True
    
    class PeopleAdmin(admin.ModelAdmin):
        list_display = ("name", comments,)
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating some custom views for the Django admin interface that use the standard
I'm working on a Django project, and I've created some custom admin views using
In my django admin section, I'd like to show different versions of the admin
I have a couple special use cases for Django admin, and I'm curious about
In my Django application I have Guest user accounts that are created for all
I have created a site mainly using django's admin interface, plus a few custom
I am trying to have the pictures I upload in the Django admin panel
I have a very simple django site but I have trouble getting the images
i want to display additional sidebar in my django admin index. I have created
I'm still relatively new to Django and have just started poking around at Django-CMS,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.