Skip to content

Commit 7e7e722

Browse files
author
Jan Schrewe
committed
fields setting works
1 parent efcf891 commit 7e7e722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodbforms/documents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def add_fields(self, form, index):
660660
if form._meta.fields:
661661
if isinstance(form._meta.fields, tuple):
662662
form._meta.fields = list(form._meta.fields)
663-
form._meta.fields.append(self.fk.name)
663+
#form._meta.fields.append(self.fk.name)
664664

665665
def get_unique_error_message(self, unique_check):
666666
unique_check = [field for field in unique_check if field != self.fk.name]

0 commit comments

Comments
 (0)