mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 14:26:34 +03:00
minor update
This commit is contained in:
parent
d8c4c0a927
commit
7cb24369ea
|
@ -9,7 +9,7 @@
|
||||||
<p>Your TOTP secret key is: {{ totp_key }}</p>
|
<p>Your TOTP secret key is: {{ totp_key }}</p>
|
||||||
|
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<img src="data:image/svg+xml;utf8,{{ qr_code_svg }}">
|
<img id="qr" src="data:image/svg+xml;utf8,{{ qr_code_svg }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form method="post" class="form">
|
<form method="post" class="form">
|
||||||
|
|
|
@ -515,7 +515,7 @@
|
||||||
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
|
||||||
}
|
}
|
||||||
CORS_URLS_REGEX = r"^/api/.*$"
|
CORS_URLS_REGEX = r"^/api/.*$"
|
||||||
|
APPEND_SLASH = False
|
||||||
SPECTACULAR_SETTINGS = {
|
SPECTACULAR_SETTINGS = {
|
||||||
"TITLE": "akarpov API",
|
"TITLE": "akarpov API",
|
||||||
"SCHEMA_PATH_PREFIX": "/api/v[0-9]",
|
"SCHEMA_PATH_PREFIX": "/api/v[0-9]",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user