shamanu4 / dal_admin_filters

Django autocomplete light filters for django admin
MIT License
64 stars 30 forks source link

Django fails with ImportError: No module named 'six' after dal_admin_filters install #20

Open oza4h07 opened 6 years ago

oza4h07 commented 6 years ago

hello, I installed dal_admin_filters with pipenv install dal_admin_filters

When settings.py includes: ... INSTALLED_APPS = [ 'voiptrunk.apps.VoiptrunkConfig', 'phonenumber_field', 'django_tables2', 'dal', 'dal_select2', 'dal_admin_filters', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] then Django's server shows: ImportError: No module named 'six'

Commenting out line 'dal_admin_filters', in settings.py remove the above error.

Thoughts ?

oza4h07 commented 6 years ago

Hello, Thanks to [1], I did "pipenv install six", added 'dal_admin_filters' line back into settings.py and error disappeared. Is it something that could or should be added in documentation (see [2]) or is it a missing dependency in pip package ?

[1] https://stackoverflow.com/questions/13967428/importerror-no-module-named-six [2] https://pypi.python.org/pypi/dal_admin_filters/0.2.2