# Custom page in Django admin

**URL:** <https://forum.djangoproject.com/t/custom-page-in-django-admin/42739>\
**Category:** The Admin\
**Created:** [September 1, 2025, 10:39pm UTC](https://forum.djangoproject.com/t/custom-page-in-django-admin/42739 "2025-09-01T22:39:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoanbello](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/yoanbello/32/23658_2.png) [@yoanbello](https://forum.djangoproject.com/u/yoanbello)\
**Post date:** [September 1, 2025, 10:39pm UTC](https://forum.djangoproject.com/t/custom-page-in-django-admin/42739/1 "2025-09-01T22:39:02Z")

</div>

Hello, i need in My project create a page in the Django admin, and in this page have 2 date fields and a button. This is not a model is for export a report from this button. I need go to this page from a button in the same admin. What is the Best way for do this? Thanks

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 2, 2025, 3:16am UTC](https://forum.djangoproject.com/t/custom-page-in-django-admin/42739/2 "2025-09-02T03:16:36Z")

</div>

First we need to be clear on some terminology.

You are (most likely) _not_ going to be “creating a page in the admin”. You will create a view in a different app that will render a page. You _can_ assign that view to a url that starts with “admin/” if that’s where you want it referenced. Otherwise, it’s just another view that you would create in exactly the same way you would create any other view.

To add a button in the admin, you need to extend the template(s) in which that button will appear - see [Overriding admin templates](https://docs.djangoproject.com/en/5.2/ref/contrib/admin/#overriding-admin-templates)
