2024-05-17 18:46:38 +00:00
|
|
|
from django.contrib import admin
|
2024-05-21 09:21:13 +00:00
|
|
|
from note_kfet.admin import admin_site
|
2024-05-17 18:46:38 +00:00
|
|
|
|
2024-05-25 13:27:26 +00:00
|
|
|
from .models import QR_code, BasicFood, TransformedFood, Allergen
|
2024-05-21 09:21:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
@admin.register(QR_code, site = admin_site)
|
|
|
|
class QR_codeAdmin(admin.ModelAdmin):
|
|
|
|
"""
|
|
|
|
TEMPORARY
|
|
|
|
"""
|
|
|
|
|
2024-05-25 13:27:26 +00:00
|
|
|
@admin.register(BasicFood, site = admin_site)
|
2024-05-21 09:21:13 +00:00
|
|
|
class Basic_foodAdmin(admin.ModelAdmin):
|
|
|
|
"""
|
|
|
|
TEMPORARY
|
|
|
|
"""
|
|
|
|
|
2024-05-25 13:27:26 +00:00
|
|
|
@admin.register(TransformedFood, site = admin_site)
|
2024-05-21 09:21:13 +00:00
|
|
|
class Transformed_foodAdmin(admin.ModelAdmin):
|
|
|
|
"""
|
|
|
|
TEMPORARY
|
|
|
|
"""
|
|
|
|
|
|
|
|
@admin.register(Allergen, site = admin_site)
|
|
|
|
class AllergenAdmin(admin.ModelAdmin):
|
|
|
|
"""
|
|
|
|
TEMPORARY
|
|
|
|
"""
|