Re: I have a problem concerning duplicate adminfields

2020-04-20 Thread krnrrr
i bet the problem is that your ProductAdmin and BlogPostAdmin also inherit from PageAdmin and you use list in fieldsets. so what is happeing is that you mutate the same instance of list for all subclasses and thus create duplicates -- You received this message because you are subscribed to the

I have a problem concerning duplicate adminfields

2020-04-19 Thread Franklin Tazuh
Hey guys, am getting this error in my django ecommerce website using cartridge , ERRORS: : (admin.E012) There are duplicate field(s) in 'fieldsets[0][1]'. System check identified 1 issue (0 silenced). This is my admin.py file from django.contrib import admin from mezzanine.pages.admin import Pag