Skip to content

ImportError: cannot import name 'instant_auth'  #32

@richardARPANET

Description

@richardARPANET

There is an import referenced here:
https://django-instant.readthedocs.io/en/latest/src/install.html

Which does not work:

Python 3.10.6 (main, Aug  3 2022, 21:50:35) [GCC 11.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from instant.views import instant_auth
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 from instant.views import instant_auth

ImportError: cannot import name 'instant_auth' from 'instant.views' (/home/amnesia/.pyenv/versions/veems/lib/python3.10/site-packages/instant/views.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions