mirror of https://gitlab.crans.org/bde/nk20
47 lines
1.0 KiB
Python
47 lines
1.0 KiB
Python
# Copyright (C) 2018-2022 by BDE ENS Paris-Saclay
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from django.contrib import admin
|
|
from note_kfet.admin import admin_site
|
|
from sheets.models import Sheet, Food, FoodOption, Meal, Order, OrderedMeal, OrderedFood, SheetOrderTransaction
|
|
|
|
|
|
@admin.register(Sheet, site=admin_site)
|
|
class SheetAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Food, site=admin_site)
|
|
class FoodAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(FoodOption, site=admin_site)
|
|
class FoodOptionAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Meal, site=admin_site)
|
|
class MealAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Order, site=admin_site)
|
|
class OrderAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(OrderedMeal, site=admin_site)
|
|
class OrderedMealAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(OrderedFood, site=admin_site)
|
|
class OrderedFoodAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(SheetOrderTransaction, site=admin_site)
|
|
class SheetOrderTransactionAdmin(admin.ModelAdmin):
|
|
pass
|