Skip to content
Snippets Groups Projects
Commit 643a1a74 authored by Christian Dresen's avatar Christian Dresen
Browse files

Warpfood

Added Admin-Models
parent 3a99e9c6
No related branches found
No related tags found
No related merge requests found
from django.contrib import admin from django.contrib import admin
from warpfood.models import PizzaService from warpfood.models import *
# Register your models here. # Register your models here.
@admin.register(PizzaService) @admin.register(FoodService)
class PizzaServiceAdmin(admin.ModelAdmin): class FoodServiceAdmin(admin.ModelAdmin):
pass
@admin.register(FoodCategory)
class FoodCategoryAdmin(admin.ModelAdmin):
pass
@admin.register(FoodProduct)
class FoodProductAdmin(admin.ModelAdmin):
pass pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment