I have the following problem when running my application:
autocomplete.Select2QuerySetView.as_view(model=Product), AttributeError: 'module' object has no attribute 'Select2QuerySetView'
I installed the library correctly by pip, and I have imported into settings.py.
Thanks for your help,
Perhaps you can debug this with pdb.set_trace() at the top of
autocomplete.py ?
On Aug 6, 2016 9:20 PM, "bennyrock20" [email protected] wrote:
I have the following problem when running my application:
autocomplete.Select2QuerySetView.as_view(model=Product), AttributeError:
'module' object has no attribute 'Select2QuerySetView'I installed the library correctly by pip, and I have imported into
settings.py.Thanks for your help,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yourlabs/django-autocomplete-light/issues/726, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFxrCRQQclZBpkgZ4UcLOjabNh-ma86ks5qdN6JgaJpZM4JeWLR
.
Ran into the same issue:
Adding "dal" and "dal_select2" to the INSTALLED_APPS fixed it:
Then, let Django find static file we need by adding to INSTALLED_APPS, before django.contrib.admin and grappelli if present:
'dal',
'dal_select2','grappelli',
'django.contrib.admin',
https://django-autocomplete-light.readthedocs.io/en/master/install.html#install-in-your-project
Awesome, perhaps you would like to contribute a FAQ with the exact error message so that people find the solution when they paste it on google ?
Please reopen when active !
Most helpful comment
Ran into the same issue:
Adding "dal" and "dal_select2" to the INSTALLED_APPS fixed it:
https://django-autocomplete-light.readthedocs.io/en/master/install.html#install-in-your-project