from .filterset import FilterSet
File "/python2.7/site-packages/django_filters/filterset.py", line 141
def __init__(self, data=None, queryset=None, *, request=None, prefix=None):
^
SyntaxError: invalid syntax
Python 2.7
Django 1.11
django-filter (latest master)
If you need to support Python 2.7 or Django <1.11 use the version 1.1 release
. i was using 2.0 dev
The metadata for the 2.*
packages should enforce Python >= 3
. I think this issue should be reopened.
Hi @rvernica. This has been fixed, just not released. See #953.
Most helpful comment
Hi @rvernica. This has been fixed, just not released. See #953.