Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Commit

Permalink
Ensure originating model is passed to ModelTree.add_select
Browse files Browse the repository at this point in the history
This requires modeltree 1.1.9+

Fix #269

Signed-off-by: Byron Ruth <b@devel.io>
  • Loading branch information
bruth committed Nov 11, 2014
1 parent 9b73aff commit 37ea25c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avocado/query/oldparsers/dataview.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _get_select(self, distinct):
model_fields = []

for f in fields:
model_fields.append(f.label_field)
model_fields.append((f.model, f.label_field))

return model_fields

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ django-guardian>=1.0.4
django-haystack==2.0.0
django-objectset>=0.2.2
jsonfield>=0.9.4
modeltree>=1.1.8
modeltree>=1.1.9
openpyxl>=1.6,<1.7
python-memcached>=1.48
ordereddict>=1.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

install_requires = [
'django>=1.4,<1.6',
'modeltree>=1.1.8',
'modeltree>=1.1.9',
'South==0.8.1',
'jsonfield==0.9.4',
]
Expand Down

0 comments on commit 37ea25c

Please sign in to comment.