Skip to content

Commit

Permalink
https://stackoverflow.com/questions/54336787
Browse files Browse the repository at this point in the history
  • Loading branch information
rapto committed Oct 10, 2019
1 parent cf6c79c commit dbcc248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def __init__(self, *args, **kwargs):
self.model._meta.many_to_many)
for field in reversed(fields):
if field.name not in exclude_fields and field.editable:
if not hasattr(field, "translated_field"):
if not hasattr(field, "translated_field") and field.name not in self.fieldsets[0][1]["fields"]:
self.fieldsets[0][1]["fields"].insert(3, field.name)

@property
Expand Down

0 comments on commit dbcc248

Please sign in to comment.