Commit a2bd3429 authored by Jean-Romain Garnier's avatar Jean-Romain Garnier
Browse files

fix: RegistrationError when accessing mandate history

parent 4fabd68c
Pipeline #3274 passed with stage
in 4 minutes and 23 seconds
......@@ -29,7 +29,7 @@ from django.contrib import admin
from reversion.admin import VersionAdmin
from .models import (AssoOption, DocumentTemplate, GeneralOption, HomeOption,
MailContact, MailMessageOption, OptionalMachine,
MailContact, MailMessageOption, Mandate, OptionalMachine,
OptionalTopologie, OptionalUser, RadiusKey, Reminder,
Service, SwitchManagementCred)
......@@ -112,6 +112,12 @@ class DocumentTemplateAdmin(VersionAdmin):
class MandateAdmin(VersionAdmin):
"""Admin class for mandates."""
pass, OptionalUserAdmin), OptionalMachineAdmin), OptionalTopologieAdmin)
......@@ -125,3 +131,4 @@, SwitchManagementCredAdmin), AssoOptionAdmin), MailMessageOptionAdmin), DocumentTemplateAdmin), MandateAdmin)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment