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