Closed bjornpoort closed 8 years ago
The latest release 1.0.1 (now also available on pypi) should resolve the issue. Please test and let us know.
Works now! Very nice asfaltboy. Above issue is solved. Been testing, couple of issues came into play. You appreciate if they are raised seperately? If not, see below:
Thanks @bjornpoort! Please open issue for the 3rd case (m2m filter) with more details on how to reproduce. I've allowed myself to open the 2 first issues and close this issue as it seems resolved now.
using latest stable django (1.8.7) and python 3.5 - not compatible at this moment? when applying any filter it returns this error:
name 'basestring' is not defined exception location: env/lib/python3.5/site-packages/advanced_filters/form_helpers.py in clean, line 29
a fix could by as mentioned here http://www.rfk.id.au/blog/entry/preparing-pyenchant-for-python-3/ "These are both errors in Python 3 since there's no such thing as 'unicode' or 'basestring'. But it's pretty simple to normalise the vocabulary between the two versions:
try: unicode = unicode except NameError:
'unicode' is undefined, must be Python 3
str = str unicode = str bytes = bytes basestring = (str,bytes) else:
'unicode' exists, must be Python 2
str = str unicode = unicode bytes = str basestring = basestring "
Not sure how to implement this (rookie python level). Someone got an idea?