S
S
Sergey Nizhny Novgorod2016-07-20 13:57:43
Django
Sergey Nizhny Novgorod, 2016-07-20 13:57:43

How to add filters by registration date?

Hello.
Can you suggest how I can add filters by user registration date? Here:
3be51065c8394933a207a0070f168327.png
I looked at a number of screenshots, both of the standard admin panel and of the grapple, and there was such a filter.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mr_Floppy, 2016-07-21
@Mr_Floppy

class CustomUserAdmin(UserAdmin):
    date_hierarchy = 'date_joined'

Только будет не справа, а сверху, в стандартной админке по крайней мере.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question