mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Use admin for test site
This commit is contained in:
parent
c619b8c606
commit
228c5949fb
1 changed files with 6 additions and 0 deletions
6
auditlog_tests/admin.py
Normal file
6
auditlog_tests/admin.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.contrib import admin
|
||||
|
||||
from auditlog.registry import auditlog
|
||||
|
||||
for model in auditlog.get_models():
|
||||
admin.site.register(model)
|
||||
Loading…
Reference in a new issue