modlinltd / django-advanced-filters

Add advanced filtering abilities to Django admin
https://pypi.org/project/django-advanced-filters/
MIT License
771 stars 173 forks source link

Django2 problem #84

Closed Bersam closed 6 years ago

Bersam commented 6 years ago

Hello there, I've installed latest django-advanced-filters using following command: pip install -e "git://github.com/modlinltd/django-advanced-filters.git@develop#egg=django-advanced-filters" but still i face following error:

    from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'

any idea what could be the problem?

greenmark commented 6 years ago

You need replace all occurrences of: from django.core.urlresolvers import resolve to from django.urls import resolve

asfaltboy commented 6 years ago

I believe this is fixed in PR #63, I'm not sure how you installed latest version from develop and still see it, try to make sure you remove existing package and install without using cache. Otherwise, if you can wait, I will hopefully release a new version with the latest changes in develop by the end of the month.