Skip to content

ImportError: cannot import name 'is_authenticated' with Django REST Framework 3.7.x #1563

@jeremystretch

Description

@jeremystretch

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.4.3
  • NetBox version: 2.1.5

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:

pip3 install djangorestframework==3.6.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA confirmed report of unexpected behavior in the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions