Parcourir la source

Branded the browsable API template

Jeremy Stretch il y a 7 ans
Parent
commit
b301b8f6f2
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      netbox/templates/rest_framework/api.html

+ 5 - 0
netbox/templates/rest_framework/api.html

@@ -0,0 +1,5 @@
+{% extends 'rest_framework/base.html' %}
+
+{% block branding %}
+    <a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
+{% endblock %}