Project

General

Profile

Download (2.11 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / ressources / admin.py @ 1164bc89

1
from django.contrib import admin
2

    
3
import reversion
4

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

    
13
admin.site.register(MDPH, reversion.VersionAdmin)
14
admin.site.register(AdviceGiver, reversion.VersionAdmin)
15
admin.site.register(ActType, reversion.VersionAdmin)
16
admin.site.register(CodeCFTMEA, reversion.VersionAdmin)
17
admin.site.register(FamilySituationType, reversion.VersionAdmin)
18
admin.site.register(HealthCenter, reversion.VersionAdmin)
19
admin.site.register(LargeRegime, reversion.VersionAdmin)
20
admin.site.register(InscriptionMotive, reversion.VersionAdmin)
21
admin.site.register(Job, reversion.VersionAdmin)
22
admin.site.register(MaritalStatusType, reversion.VersionAdmin)
23
admin.site.register(Nationality, reversion.VersionAdmin)
24
admin.site.register(Office, reversion.VersionAdmin)
25
admin.site.register(ParentalAuthorityType, reversion.VersionAdmin)
26
admin.site.register(ParentalCustodyType, reversion.VersionAdmin)
27
admin.site.register(PatientRelatedLink, reversion.VersionAdmin)
28
admin.site.register(ProvenancePlace, reversion.VersionAdmin)
29
admin.site.register(Ressource, reversion.VersionAdmin)
30
admin.site.register(School, reversion.VersionAdmin)
31
admin.site.register(SchoolType, reversion.VersionAdmin)
32
admin.site.register(SchoolTeacherRole, reversion.VersionAdmin)
33
admin.site.register(SocialisationDuration, reversion.VersionAdmin)
34
admin.site.register(Service, reversion.VersionAdmin)
35
admin.site.register(SessionType, reversion.VersionAdmin)
36
admin.site.register(TransportCompany, reversion.VersionAdmin)
37
admin.site.register(TransportType, reversion.VersionAdmin)
38
admin.site.register(UninvoicableCode, reversion.VersionAdmin)
39
admin.site.register(WorkerType, reversion.VersionAdmin)
40
admin.site.register(HolidayType, reversion.VersionAdmin)
(2-2/8)