1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 10:53:02 +00:00
nk20/apps/food/admin.py

30 lines
620 B
Python

from django.contrib import admin
from note_kfet.admin import admin_site
from .models import QR_code, Basic_food, Transformed_food, Allergen
@admin.register(QR_code, site = admin_site)
class QR_codeAdmin(admin.ModelAdmin):
"""
TEMPORARY
"""
@admin.register(Basic_food, site = admin_site)
class Basic_foodAdmin(admin.ModelAdmin):
"""
TEMPORARY
"""
@admin.register(Transformed_food, site = admin_site)
class Transformed_foodAdmin(admin.ModelAdmin):
"""
TEMPORARY
"""
@admin.register(Allergen, site = admin_site)
class AllergenAdmin(admin.ModelAdmin):
"""
TEMPORARY
"""