S
S
SashaN692021-01-18 10:11:36
Django
SashaN69, 2021-01-18 10:11:36

How to display multiple columns in Django admin?

How to display multiple columns from database in Django admin?

def __str__(self):
        return self.name

Returns only one value!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2021-01-18
@SashaN69

Learn to read docs https://docs.djangoproject.com/en/3.1/ref/contrib/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question