Project

General

Profile

« Previous | Next » 

Revision 7d0d13bc

Added by Mikaël Ates (de retour le 5 mars) about 11 years ago

personnes: add externs to admin.

View differences:

calebasse/personnes/admin.py
3 3
import reversion
4 4

  
5 5
from calebasse.personnes.models import (Holiday, People, TimeTable,
6
        SchoolTeacher, UserWorker, Worker, Role)
6
        SchoolTeacher, UserWorker, Worker, ExternalWorker,
7
        ExternalTherapist, Role)
7 8

  
8 9
admin.site.register(Holiday, reversion.VersionAdmin)
9 10
admin.site.register(People, reversion.VersionAdmin)
......
11 12
admin.site.register(SchoolTeacher, reversion.VersionAdmin)
12 13
admin.site.register(UserWorker, reversion.VersionAdmin)
13 14
admin.site.register(Worker, reversion.VersionAdmin)
15
admin.site.register(ExternalWorker, reversion.VersionAdmin)
16
admin.site.register(ExternalTherapist, reversion.VersionAdmin)
14 17
admin.site.register(Role, reversion.VersionAdmin)

Also available in: Unified diff