A
A
Andrey2015-03-26 07:41:11
Django
Andrey, 2015-03-26 07:41:11

How to make extra pages in Django admin?

Hello!
We need additional pages in the admin panel, where new users, comments and other information / statistics for the day will be displayed.
You just need to create an admin_extra application, and add the necessary pages in it, or are there other ways!?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
un1t, 2015-03-26
@un1t

You add an address in the form admin/mypage to urls.py
and make a normal view in any of your applications.
Inherit the template from the base admin's admin/base_site.html
In general, just like not in the admin.

A
Andrey K, 2015-03-26
@mututunus

You can use admin-tools and display this information in blocks.

A
Artyom Maltsev, 2017-08-25
@vivazzi

Here I have described in detail how to add pages to the admin panel vivazzi.ru/it/add-page-to-admin-django/.
There he painted three ways to add:
1. In the usual way to the main page of the admin application
2. Adding a link to the dashboard of the admin_tools application
3. Adding a link to the django-cms menu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question