fix
This commit is contained in:
parent
9132b98275
commit
09b2d6abab
@ -15,6 +15,7 @@ class ProductAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
@admin.register(Invoice)
|
@admin.register(Invoice)
|
||||||
class InvoiceAdmin(admin.ModelAdmin):
|
class InvoiceAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ("invoice_id", "user", "total_price", "paid", "address")
|
||||||
change_form_template = "invoice_custom_admin_page.html"
|
change_form_template = "invoice_custom_admin_page.html"
|
||||||
|
|
||||||
def response_change(self, request, obj):
|
def response_change(self, request, obj):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user