feat: created product image model
This commit is contained in:
@@ -12,6 +12,7 @@ from shop.models import (
|
||||
ProductBatch,
|
||||
ProductCategory,
|
||||
ProductPrice,
|
||||
ProductImage,
|
||||
Provider,
|
||||
ShippingMethod,
|
||||
ShopSettings,
|
||||
@@ -166,3 +167,11 @@ class ShopSettingsAdmin(ModelAdmin):
|
||||
"currency_code",
|
||||
"terminal",
|
||||
)
|
||||
|
||||
|
||||
@admin.register(ProductImage)
|
||||
class ProductImageAdmin(ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"original",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user