Skip to content

Bug in Ch07b #5

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

Open
Yummy-Yums opened this issue Oct 17, 2023 · 3 comments
Open

Bug in Ch07b #5

Yummy-Yums opened this issue Oct 17, 2023 · 3 comments

Comments

@Yummy-Yums
Copy link

Yummy-Yums commented Oct 17, 2023

login.py imports http_basic in ch07a and ch07b but in the latter , http_digest is used , generating the below error

from api import admin, login, profile, auction, bid
File "./api/login.py", line 13, in
from security.secure import authenticate, get_password_hash, http_basic
ImportError: cannot import name 'http_basic' from 'security.secure' (./security/secure.py)

can i raise a PR to fix this ?

@sjctrags
Copy link
Collaborator

have you installed the plugins?

@Yummy-Yums
Copy link
Author

dyu mean requirements? i have installed them .. not quite sure about what you mean by plugins

@sjctrags
Copy link
Collaborator

Hmmmm why Python version are you using? It should be working given the recommended Python version in the book

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants