소스 검색

Branded the browsable API template

Jeremy Stretch 8 년 전
부모
커밋
b301b8f6f2
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 %}