fix: moved svg files
This commit is contained in:
@@ -3,6 +3,8 @@ from unfold.admin import ModelAdmin
|
||||
|
||||
from shop.models import (
|
||||
Brand,
|
||||
Cart,
|
||||
CartItem,
|
||||
Customer,
|
||||
Order,
|
||||
OrderLine,
|
||||
@@ -104,3 +106,22 @@ class ProductBatchAdmin(ModelAdmin):
|
||||
"quantity",
|
||||
"provider",
|
||||
)
|
||||
|
||||
|
||||
@admin.register(Cart)
|
||||
class ProductBatchAdmin(ModelAdmin):
|
||||
list_display = (
|
||||
"uuid",
|
||||
"user",
|
||||
"creation_date",
|
||||
)
|
||||
|
||||
|
||||
@admin.register(CartItem)
|
||||
class ProductBatchAdmin(ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"cart",
|
||||
"product",
|
||||
"quantity",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user