Skip to content
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

QRCode Context Problem #2

Open
bprobian opened this issue Apr 3, 2024 · 0 comments
Open

QRCode Context Problem #2

bprobian opened this issue Apr 3, 2024 · 0 comments

Comments

@bprobian
Copy link

bprobian commented Apr 3, 2024

Die default setup form view (views.py:24) liefert den qrcode context wie folgt aus:
'qrcode': qr_code.getvalue().decode("utf-8")

Das führt in der qrcode library > 7.3.1 zu einem Darstellungsproblem, dass auch hier gut beschrieben ist:
lincolnloop/python-qrcode#353

Die setup View sollte entweder den replace fix durchführen, oder auch die device.config_url zurückliefern, dann könnte man eigene qrcode filter / template tags benutzen.

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

No branches or pull requests

1 participant