3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-27 17:33:46 +00:00
coope/users/admin.py
2018-11-27 09:07:12 +01:00

10 lines
No EOL
399 B
Python

from django.contrib import admin
from django.contrib.auth.models import Permission
from simple_history.admin import SimpleHistoryAdmin
from .models import School, Profile, CotisationHistory
admin.site.register(Permission, SimpleHistoryAdmin)
admin.site.register(School, SimpleHistoryAdmin)
admin.site.register(Profile, SimpleHistoryAdmin)
admin.site.register(CotisationHistory, SimpleHistoryAdmin)