Revision 76974b6f
Added by Benjamin Dauvergne almost 12 years ago
calebasse/agenda/admin.py | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import reversion |
4 | 4 |
|
5 |
from models import Event, EventType, Note, Occurrence
|
|
5 |
from models import Event, EventType, EventWithAct
|
|
6 | 6 |
|
7 | 7 |
admin.site.register(Event, reversion.VersionAdmin) |
8 |
admin.site.register(Occurrence, reversion.VersionAdmin) |
|
9 | 8 |
admin.site.register(EventType, reversion.VersionAdmin) |
10 |
admin.site.register(Note, reversion.VersionAdmin) |
|
9 |
admin.site.register(EventWithAct, reversion.VersionAdmin) |
Also available in: Unified diff
agenda/actes/dossiers: move Occurence fields into Event, add recurring events support