What is "list_display_links" for Django Admin? [duplicate]

I have Person model below:

# "store/models.py"

from django.db import models

class Person(models.Model):
    first_name = models.CharField(max_length=30)
    last_name = models.CharField(max_length=30)
    age =  models.IntegerField()
    
    def __str__(self):
        return self.first_name + " " + self.last_name

Then, I assigned "first_name", "last_name" and "age" to list_display in Person admin as shown below:

# "store/admin.py"

from django.contrib import admin
from .models import Person

@admin.register(Person)
class PersonAdmin(admin.ModelAdmin):
    list_display = ("first_name", "last_name", "age") # Here

Now, FIRST NAME, LAST NAME and AGE are displayed as shown below:

enter image description here

Next, I assigned "first_name", "last_name" and "age" to list_display_links in Person admin as shown below:

# "store/admin.py"

from django.contrib import admin
from .models import Person

@admin.register(Person)
class PersonAdmin(admin.ModelAdmin):
    list_display = ("first_name", "last_name", "age")
    list_display_links = ("first_name", "last_name", "age") # Here

But, nothing happened to the "change list" page as shown below:

enter image description here

So, what is list_display_links?

Back to Top