3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-17 08:53:12 +00:00
coope/gestion/admin.py

14 lines
653 B
Python
Raw Normal View History

2018-08-31 12:46:35 +00:00
from django.contrib import admin
2018-11-27 08:07:12 +00:00
from simple_history.admin import SimpleHistoryAdmin
2018-08-31 12:46:35 +00:00
2018-11-27 08:07:12 +00:00
from .models import Reload, Refund, Product, Keg, ConsumptionHistory, KegHistory, Consumption, Menu, MenuHistory
2018-10-05 22:03:02 +00:00
2018-11-27 08:07:12 +00:00
admin.site.register(Reload, SimpleHistoryAdmin)
admin.site.register(Refund, SimpleHistoryAdmin)
admin.site.register(Product, SimpleHistoryAdmin)
admin.site.register(Keg, SimpleHistoryAdmin)
admin.site.register(ConsumptionHistory, SimpleHistoryAdmin)
admin.site.register(KegHistory, SimpleHistoryAdmin)
admin.site.register(Consumption, SimpleHistoryAdmin)
admin.site.register(Menu, SimpleHistoryAdmin)
admin.site.register(MenuHistory, SimpleHistoryAdmin)