mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
13 lines
346 B
Python
13 lines
346 B
Python
from django.apps import AppConfig
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class AuditlogConfig(AppConfig):
|
|
name = "auditlog"
|
|
verbose_name = _("Audit log")
|
|
default_auto_field = "django.db.models.AutoField"
|
|
|
|
def ready(self):
|
|
from auditlog.registry import auditlog
|
|
|
|
auditlog.register_from_settings()
|