mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Moved LogEntry-related tests to their own test case
Thanks Tim Graham for reviewing and contributing to the patch. Refs #21113.
This commit is contained in:
7
tests/admin_utils/admin.py
Normal file
7
tests/admin_utils/admin.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import Article, ArticleProxy
|
||||
|
||||
site = admin.AdminSite(name='admin')
|
||||
site.register(Article)
|
||||
site.register(ArticleProxy)
|
||||
Reference in New Issue
Block a user