diff --git a/passbook/api/templates/rest_framework/api.html b/passbook/api/templates/rest_framework/api.html new file mode 100644 index 000000000..604490afc --- /dev/null +++ b/passbook/api/templates/rest_framework/api.html @@ -0,0 +1,7 @@ +{% extends "rest_framework/base.html" %} + +{% block branding %} + + passbook + +{% endblock %} diff --git a/passbook/root/settings.py b/passbook/root/settings.py index d5a2bf410..63c0d110c 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -83,13 +83,6 @@ INSTALLED_APPS = [ "django.contrib.messages", "django.contrib.staticfiles", "django.contrib.humanize", - "rest_framework", - "django_filters", - "drf_yasg", - "guardian", - "django_prometheus", - "channels", - "dbbackup", "passbook.admin.apps.PassbookAdminConfig", "passbook.api.apps.PassbookAPIConfig", "passbook.audit.apps.PassbookAuditConfig", @@ -128,6 +121,13 @@ INSTALLED_APPS = [ "passbook.stages.otp_validate.apps.PassbookStageOTPValidateConfig", "passbook.stages.password.apps.PassbookStagePasswordConfig", "passbook.static.apps.PassbookStaticConfig", + "rest_framework", + "django_filters", + "drf_yasg", + "guardian", + "django_prometheus", + "channels", + "dbbackup", ] GUARDIAN_MONKEY_PATCH = False