Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #52 from postatum/develop
Browse files Browse the repository at this point in the history
Fix bug with local var overriding
  • Loading branch information
chartpath committed Jun 5, 2015
2 parents 27c0bfe + cb4b6c3 commit e439a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nefertari/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def convert_ids2objects(self, model_cls=None):
for field in self._json_params.keys():
if not engine.is_relationship_field(field, model_cls):
continue
model_cls = engine.get_relationship_cls(field, model_cls)
self.id2obj(field, model_cls)
rel_model_cls = engine.get_relationship_cls(field, model_cls)
self.id2obj(field, rel_model_cls)

def get_debug(self, package=None):
if not package:
Expand Down

0 comments on commit e439a4a

Please sign in to comment.