django-nested-inline
django-nested-inline copied to clipboard
object has no attribute 'queryset'
Vanilla install with Django 1.8 using examples in docs gets 'LevelOneInline' object has no attribute 'queryset'.
In admin.py with Django 1.8(1.7 is ok),
nested_inline.queryset(request)
inline.queryset(request)
raise error. There are 6 calls.
I changed all to
nested_inline.get_queryset(request)
inline.get_queryset(request)
and it works.
@chawchaw Could you provide us with more details on how you solved this issue?
@GabKlein There is a pull request about this issue. Check it following. https://github.com/s-block/django-nested-inline/pull/32/files
did this get pulled?
The support for django 1.8 was added in another pull request. The latest version works well for me, but it's not available via pip yet.