Skip to content

Commit

Permalink
rename WidgetM2M to WidgetRelationship
Browse files Browse the repository at this point in the history
  • Loading branch information
uralbash committed Oct 31, 2014
1 parent efa46f8 commit 22fe0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sacrud_deform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def build(self, columns):
gs = GroupShema(group, self.table, self.obj, self.dbsession, c)
self.schema.add(gs.schema)
continue
elif col.__class__.__name__ == "WidgetM2M":
elif col.__class__.__name__ == "WidgetRelationship":
choices = self.dbsession.query(col.table).all()
choices = [('', '')] + _sa_row_to_choises(choices)
rel_name = col.relation.key
Expand Down

0 comments on commit 22fe0d8

Please sign in to comment.