Changeset - c948fbbfd207
[Not reviewed]
James Polley - 5 years ago 2019-01-21 00:51:46
jp@jamezpolley.com
Make it easier to compare categories from list view
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
vendor/registrasion/registrasion/admin.py
Show inline comments
...
 
@@ -25,7 +25,7 @@ class CategoryAdmin(admin.ModelAdmin):
 
    model = inventory.Category
 
    fields = ("name", "description", "required", "render_type",
 
              "limit_per_user", "order",)
 
    list_display = ("name", "description")
 
    list_display = ("name", "description", "required", "limit_per_user", "order")
 
    inlines = [
 
        ProductInline,
 
    ]
...
 
@@ -36,8 +36,6 @@ class ProductAdmin(admin.ModelAdmin):
 
    model = inventory.Product
 
    list_display = ("name", "category", "description")
 
    list_filter = ("category", )
 

	
 

	
 
# Discounts
 

	
 
class DiscountForProductInline(admin.TabularInline):
0 comments (0 inline, 0 general)