ajouté des inlines dans l'admin (#1555)
[auf_rh_dae.git] / project / rh / admin.py
1 # -*- encoding: utf-8 -*-
2
3 from django.contrib import admin
4 from rh.models import *
5 from rh.lib import *
6
7 AyantDroitInline.model = AyantDroit
8 AyantDroitCommentaireInline.model = AyantDroitCommentaire
9 ContratInline.model = Contrat
10 DossierROInline.model = Dossier
11 DossierCommentaireInline.model = DossierCommentaire
12 DossierPieceInline.model = DossierPiece
13 EmployeInline.model = Employe
14 EmployeCommentaireInline.model = EmployeCommentaire
15 EmployePieceInline.model = EmployePiece
16 EvenementInline.model = Evenement
17 EvenementRemunerationInline.model = EvenementRemuneration
18 PosteInline.model = Poste
19 PosteCommentaireInline.model = PosteCommentaire
20 PosteFinancementInline.model = PosteFinancement
21 PostePieceInline.model = PostePiece
22 RemunerationInline.model = Remuneration
23 TypePosteInline.model = TypePoste
24
25 admin.site.register(AyantDroit, AyantDroitAdmin)
26 #admin.site.register(AyantDroitCommentaire, AyantDroitCommentaireAdmin)
27 admin.site.register(Classement, ClassementAdmin)
28 #admin.site.register(Commentaire, CommentaireAdmin)
29 admin.site.register(Contrat, ContratAdmin)
30 admin.site.register(Devise, DeviseAdmin)
31 admin.site.register(Dossier, DossierAdmin)
32 #admin.site.register(DossierCommentaire, DossierCommentaireAdmin)
33 #admin.site.register(DossierPiece, DossierPieceAdmin)
34 admin.site.register(Employe, EmployeAdmin)
35 #admin.site.register(EmployeCommentaire, EmployeCommentaireAdmin)
36 #admin.site.register(EmployePiece, EmployePieceAdmin)
37 admin.site.register(Evenement, EvenementAdmin)
38 admin.site.register(EvenementRemuneration, EvenementRemunerationAdmin)
39 admin.site.register(FamilleEmploi, FamilleEmploiAdmin)
40 admin.site.register(OrganismeBstg, OrganismeBstgAdmin)
41 admin.site.register(Poste, PosteAdmin)
42 #admin.site.register(PosteCommentaire, PosteCommentaireAdmin)
43 #admin.site.register(PosteFinancement, PosteFinancementAdmin)
44 #admin.site.register(PostePiece, PostePieceAdmin)
45 admin.site.register(Remuneration, RemunerationAdmin)
46 admin.site.register(ResponsableImplantation, ResponsableImplantationAdmin)
47 admin.site.register(Service, ServiceAdmin)
48 admin.site.register(Statut, StatutAdmin) # FIXME: timeout in admin
49 admin.site.register(TauxChange, TauxChangeAdmin)
50 admin.site.register(TypeContrat, TypeContratAdmin) # FIXME: timeout in admin
51 admin.site.register(TypePoste, TypePosteAdmin)
52 admin.site.register(TypeRemuneration, TypeRemunerationAdmin)
53 admin.site.register(TypeRevalorisation, TypeRevalorisationAdmin)
54 admin.site.register(ValeurPoint, ValeurPointAdmin)