from django.contrib import admin

import reversion

from models import (ActType, CodeCFTMEA, FamilySituationType, HealthCenter,
        InscriptionMotive, Job, Nationality, Office, ParentalAuthorityType,
        ParentalCustodyType, Ressource, SchoolType, School, SchoolTeacherRole,
        Service, SessionType, TransportCompany, TransportType,
        UninvoicableCode, WorkerType, LargeRegime, SocialisationDuration,
        MDPH, HolidayType, AdviceGiver, MaritalStatusType, PatientRelatedLink,
        ProvenancePlace)

admin.site.register(MDPH, reversion.VersionAdmin)
admin.site.register(AdviceGiver, reversion.VersionAdmin)
admin.site.register(ActType, reversion.VersionAdmin)
admin.site.register(CodeCFTMEA, reversion.VersionAdmin)
admin.site.register(FamilySituationType, reversion.VersionAdmin)
admin.site.register(HealthCenter, reversion.VersionAdmin)
admin.site.register(LargeRegime, reversion.VersionAdmin)
admin.site.register(InscriptionMotive, reversion.VersionAdmin)
admin.site.register(Job, reversion.VersionAdmin)
admin.site.register(MaritalStatusType, reversion.VersionAdmin)
admin.site.register(Nationality, reversion.VersionAdmin)
admin.site.register(Office, reversion.VersionAdmin)
admin.site.register(ParentalAuthorityType, reversion.VersionAdmin)
admin.site.register(ParentalCustodyType, reversion.VersionAdmin)
admin.site.register(PatientRelatedLink, reversion.VersionAdmin)
admin.site.register(ProvenancePlace, reversion.VersionAdmin)
admin.site.register(Ressource, reversion.VersionAdmin)
admin.site.register(School, reversion.VersionAdmin)
admin.site.register(SchoolType, reversion.VersionAdmin)
admin.site.register(SchoolTeacherRole, reversion.VersionAdmin)
admin.site.register(SocialisationDuration, reversion.VersionAdmin)
admin.site.register(Service, reversion.VersionAdmin)
admin.site.register(SessionType, reversion.VersionAdmin)
admin.site.register(TransportCompany, reversion.VersionAdmin)
admin.site.register(TransportType, reversion.VersionAdmin)
admin.site.register(UninvoicableCode, reversion.VersionAdmin)
admin.site.register(WorkerType, reversion.VersionAdmin)
admin.site.register(HolidayType, reversion.VersionAdmin)
