mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-10 04:06:47 +00:00
build(deps): the OTP e-mail draws its QR code with segno
django-qr-code was used for one thing: the QR code in the OTP e-mail, as an inline SVG and a PNG. It brought pydantic, pydantic-core, annotated-types and typing-inspection (about 10 MB) and, from 5.0 on, Pillow. segno, which it used underneath, now draws both images with the same options (error correction M, 4-module border, 1.8 mm SVG modules, 12 px PNG modules); the SVG, the PNG and the alt text are byte for byte what django-qr-code 4.2 produced. account.html loaded the tag library without using it.
This commit is contained in:
parent
99b9f35826
commit
72681ab54e
7 changed files with 42 additions and 6 deletions
|
|
@ -79,7 +79,6 @@ INSTALLED_APPS = [
|
|||
"storages",
|
||||
"virtsecrets",
|
||||
"logs",
|
||||
"qr_code",
|
||||
"rest_framework",
|
||||
"axes",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue