django-autocomplete-light-3.2.10
django2.0.1
INSTALLED_APPS = [
....
'dal',
'dal_select2',
'dal_queryset_sequence',
]
When im trying this tutorial, i can't import anything with from dal_queryset_sequence, not only from my own code, but also not working is source code.
EX: (in views):
from dal_select2_queryset_sequence.views import Select2QuerySetSequenceView
File "/home/guigui/Programmation/ZIF/gabarit/views.py", line 21, in <module>
from dal_select2_queryset_sequence.views import Select2QuerySetSequenceView
File "/usr/local/lib/python3.6/dist-packages/dal_select2_queryset_sequence/views.py", line 3, in <module>
from dal_queryset_sequence.views import BaseQuerySetSequenceView
File "/usr/local/lib/python3.6/dist-packages/dal_queryset_sequence/views.py", line 7, in <module>
from queryset_sequence import QuerySetSequence
ModuleNotFoundError: No module named 'queryset_sequence'
I installed the package via pip, its not clear in the docs, do i need to install a a new django extension, is it this queryset_sequence ??
Ok, queryset_sequence was, already or as a autocomplete dependency, installed, but had to be upgraded, via python3.6 -m pip install django-querysetsequence --upgrade
Thanks for reporting!
Might I suggest the doc be updated to say we have to install:
django-querysetsequence==0.13?
I didn't know that package and I thought it was included in dal when the docs say it should be added in INSTALLED_APPS, I struggled quite a bit before finding it in an example's requirements.txt
Most helpful comment
Ok,
queryset_sequencewas, already or as a autocomplete dependency, installed, but had to be upgraded, viapython3.6 -m pip install django-querysetsequence --upgrade