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:
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user