-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'is_authenticated' with Django REST Framework 3.7.x #1563
Comments
posted an hour before i could. This workaround does not apply to the beta 2.2 release. Installing and then reverting the framework is fine on 2.1.5. Causes a "reported to administrator error" on beta2 |
@dirtycajunrice I have no issue running v2.2-beta2 with DRF 3.6.4. What is the error being reported? |
@jeremystretch That reads like the ./upgrade.sh is not adding the postgres table if im not mistaken |
Fixed it by forcing requirements.txt to djangorestframework==3.6.4 Seems that once the error occurs with 3.7.0 it does not run migrations. |
…ramework v3.7.0
Issue type
[ ] Feature request
[x] Bug report
[ ] Documentation
Environment
Description
Django REST Framework 3.7.0 was released today. This release removes compatibility code (originally added to support out-of-date Django versions) which we are using in one of the utility classes.
Workaround
Install a DRF release prior to 3.7.0:
The text was updated successfully, but these errors were encountered: