1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #34303 –- Allowed customizing admin site log entry list.

Added AdminSite.get_log_entries() as an override point and made this
available to the template via each_context().
This commit is contained in:
Jacob Rief
2023-02-08 18:37:32 +01:00
committed by GitHub
parent 1964e4367f
commit 473283d241
8 changed files with 76 additions and 13 deletions

View File

@@ -1,7 +1,8 @@
from django.urls import path
from .admin import site
from .admin import custom_site, site
urlpatterns = [
path("test_admin/admin/", site.urls),
path("test_admin/custom_admin/", custom_site.urls),
]