Hi Danny, Thanks. It was almost the issue.
I had a separate PageAdmin class deepcopy that was causing the duplication.
I removed it then changed the deepcopy fieldsets of each admin class to the
custom class.
On Saturday, January 9, 2016 at 1:28:45 AM UTC+3, Danny S wrote:
>
> On 8/01/2016
On 8/01/2016 11:31 PM, George M wrote:
I'm not sure this is the issue, but:
home_fieldsets = deepcopy(HomePageAdmin.fieldsets)
home_fieldsets[0][1]["fields"].insert(1, "in_opd")
HomePageAdmin.fieldsets = home_fieldsets
Here you are deepcopying HomePageAdmin.fieldsets, then changing it.
I get this error when running makemigrations for my mezzanine theme
SystemCheckError: System check identified some issues:
ERRORS:
: (admin.E012) There are duplicate
field(s) in 'fieldsets[0][1]'.
: (admin.E012) There are
duplicate field(s) in 'fieldsets[0][1]'.
: (admin.E012) There are