Add static token to settings
This commit is contained in:
parent
9139b4ffdd
commit
3af63c5ef6
5
Makefile
5
Makefile
|
@ -14,4 +14,7 @@ migrate:
|
|||
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py migrate"
|
||||
|
||||
makemigrations:
|
||||
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py makemigrations"
|
||||
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py makemigrations"
|
||||
|
||||
auth:
|
||||
docker-compose -f docker/docker-compose.prod.yml --env-file=stack.env run --rm app sh -c ". /venv/bin/activate && python manage.py createsuperuser"
|
||||
|
|
|
@ -46,7 +46,7 @@ INSTALLED_APPS = [
|
|||
"django_otp",
|
||||
"django_otp.plugins.otp_totp",
|
||||
# 'django_otp.plugins.otp_hotp',
|
||||
# 'django_otp.plugins.otp_static',
|
||||
"django_otp.plugins.otp_static",
|
||||
]
|
||||
CRISPY_TEMPLATE_PACK = "bulma"
|
||||
CRISPY_ALLOWED_TEMPLATE_PACKS = (
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
</span>
|
||||
</span>
|
||||
</button>
|
||||
<a href="{% url 'callbacks' type='page' hook_id=item.id %}"><button
|
||||
<a href="{% url 'callbacks' type='{{ type }}' hook_id=item.id %}"><button
|
||||
class="button is-success">
|
||||
<span class="icon-text">
|
||||
<span class="icon">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<th>id</th>
|
||||
<th>hook id</th>
|
||||
<th>hook name</th>
|
||||
<th>data</th>
|
||||
<th>title</th>
|
||||
<th>actions</th>
|
||||
</thead>
|
||||
{% for item in items %}
|
||||
|
@ -20,7 +20,7 @@
|
|||
hx-target="#modals-here">{{ item.hook.name }}
|
||||
</a>
|
||||
</td>
|
||||
<td><pre>{{ item.data }}</pre></td>
|
||||
<td><pre>{{ item.title }}</pre></td>
|
||||
<td>
|
||||
<div class="buttons">
|
||||
|
||||
|
|
Loading…
Reference in New Issue