diff --git a/Makefile b/Makefile index 50287a0..1f8c43a 100644 --- a/Makefile +++ b/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" \ No newline at end of file + 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" diff --git a/app/settings.py b/app/settings.py index 15a7a93..8da128d 100644 --- a/app/settings.py +++ b/app/settings.py @@ -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 = ( diff --git a/core/templates/partials/hook-list.html b/core/templates/partials/hook-list.html index 3b2aa3a..14f6f9c 100644 --- a/core/templates/partials/hook-list.html +++ b/core/templates/partials/hook-list.html @@ -42,7 +42,7 @@ -