from django.contrib import admin
from . models import banner, product, siteInfo

admin.site.register(banner)

admin.site.register(siteInfo)

class ProductPost(admin.ModelAdmin):
    list_display = ('id', 'productName', 'productImg', 'productImg2', 'productImg3','productCategories', 'productPrice','productOffer','featuredproduct','OfferPercent')
    list_filter = ("productCategories",)
    search_fields = ['productName', 'productCategories','productPrice']
admin.site.register(product, ProductPost)


65291574e64afd133d27e8770a9e901579b98487
<mask token>


class ProductPost(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class ProductPost(admin.ModelAdmin):
    list_display = ('id', 'productName', 'productImg', 'productImg2',
        'productImg3', 'productCategories', 'productPrice', 'productOffer',
        'featuredproduct', 'OfferPercent')
    list_filter = 'productCategories',
    search_fields = ['productName', 'productCategories', 'productPrice']


<mask token>

<mask token>
admin.site.register(banner)
admin.site.register(siteInfo)


class ProductPost(admin.ModelAdmin):
    list_display = ('id', 'productName', 'productImg', 'productImg2',
        'productImg3', 'productCategories', 'productPrice', 'productOffer',
        'featuredproduct', 'OfferPercent')
    list_filter = 'productCategories',
    search_fields = ['productName', 'productCategories', 'productPrice']


admin.site.register(product, ProductPost)

from django.contrib import admin
from .models import banner, product, siteInfo
admin.site.register(banner)
admin.site.register(siteInfo)


class ProductPost(admin.ModelAdmin):
    list_display = ('id', 'productName', 'productImg', 'productImg2',
        'productImg3', 'productCategories', 'productPrice', 'productOffer',
        'featuredproduct', 'OfferPercent')
    list_filter = 'productCategories',
    search_fields = ['productName', 'productCategories', 'productPrice']


admin.site.register(product, ProductPost)

from django.contrib import admin
from . models import banner, product, siteInfo

admin.site.register(banner)

admin.site.register(siteInfo)

class ProductPost(admin.ModelAdmin):
    list_display = ('id', 'productName', 'productImg', 'productImg2', 'productImg3','productCategories', 'productPrice','productOffer','featuredproduct','OfferPercent')
    list_filter = ("productCategories",)
    search_fields = ['productName', 'productCategories','productPrice']
admin.site.register(product, ProductPost)

