Skip to content

Commit 1e7ca18

Browse files
committed
https://stackoverflow.com/questions/54336787
1 parent cf6c79c commit 1e7ca18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mezzanine/core/admin.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ def __init__(self, *args, **kwargs):
301301
self.model._meta.many_to_many)
302302
for field in reversed(fields):
303303
if field.name not in exclude_fields and field.editable:
304-
if not hasattr(field, "translated_field"):
304+
if not hasattr(field, "translated_field") and field.name \
305+
not in self.fieldsets[0][1]["fields"]:
305306
self.fieldsets[0][1]["fields"].insert(3, field.name)
306307

307308
@property

0 commit comments

Comments
 (0)