I am learning to make api in python same as given in this article ( https://codeburst.io/create-a-django-api-in-under-20-minutes-2a082a60f6f3 ), but having this issue File "c:\users\acer\downloads\compressed\django-tastypie-master\tastypie\resources.py", line 32, in
from django.db.models.sql.constants import QUERY_TERMS
ImportError: cannot import name 'QUERY_TERMS'
I am learning to make api in python same as given in this article ( https://codeburst.io/create-a-django-api-in-under-20-minutes-2a082a60f6f3 ), but having this issue File "c:\users\acer\downloads\compressed\django-tastypie-master\tastypie\resources.py", line 32, in
from django.db.models.sql.constants import QUERY_TERMS
ImportError: cannot import name 'QUERY_TERMS'
Please help