Ajout messages de contacts dans la partie admin

This commit is contained in:
Jean-Marie Favreau 2024-10-10 14:30:39 +02:00
parent a84631b28e
commit 360f7649ab

View File

@ -8,6 +8,7 @@ from .models import (
BatchImportation,
RecurrentImport,
Place,
ContactMessage
)
from django_better_admin_arrayfield.admin.mixins import DynamicArrayMixin
from django_better_admin_arrayfield.forms.widgets import DynamicArrayWidget
@ -20,6 +21,7 @@ admin.site.register(DuplicatedEvents)
admin.site.register(BatchImportation)
admin.site.register(RecurrentImport)
admin.site.register(Place)
admin.site.register(ContactMessage)
class URLWidget(DynamicArrayWidget):