Prechádzať zdrojové kódy

Branded the browsable API template

Jeremy Stretch 8 rokov pred
rodič
commit
b301b8f6f2
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  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 %}