Explorar el Código

Branded the browsable API template

Jeremy Stretch hace 8 años
padre
commit
b301b8f6f2
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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 %}