Coverage for website/merchandise/admin.py: 100.00%
6 statements
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
1from django.contrib import admin
2from django.contrib.admin import ModelAdmin
4from .models import MerchandiseItem
7@admin.register(MerchandiseItem)
8class MerchandiseItemAdmin(ModelAdmin):
9 """This manages the admin interface for the model items."""
11 #: Included fields in the admin interface
12 fields = (
13 "name",
14 "price",
15 "description",
16 "image",
17 )