mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 10:53:11 +00:00
fix: RegistrationError when accessing mandate history
This commit is contained in:
parent
4fabd68ca3
commit
a2bd34297d
1 changed files with 8 additions and 1 deletions
|
@ -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):
|
|||
pass
|
||||
|
||||
|
||||
class MandateAdmin(VersionAdmin):
|
||||
"""Admin class for mandates."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
admin.site.register(OptionalUser, OptionalUserAdmin)
|
||||
admin.site.register(OptionalMachine, OptionalMachineAdmin)
|
||||
admin.site.register(OptionalTopologie, OptionalTopologieAdmin)
|
||||
|
@ -125,3 +131,4 @@ admin.site.register(SwitchManagementCred, SwitchManagementCredAdmin)
|
|||
admin.site.register(AssoOption, AssoOptionAdmin)
|
||||
admin.site.register(MailMessageOption, MailMessageOptionAdmin)
|
||||
admin.site.register(DocumentTemplate, DocumentTemplateAdmin)
|
||||
admin.site.register(Mandate, MandateAdmin)
|
||||
|
|
Loading…
Reference in a new issue