Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4efd167

Browse files
committed
Allow overriding script in template block
1 parent 7f52bea commit 4efd167

File tree

1 file changed

+2
-0
lines changed
  • rest_framework_docs/templates/rest_framework_docs

1 file changed

+2
-0
lines changed

‎rest_framework_docs/templates/rest_framework_docs/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ <h3>Document Web APIs made with <a href="http://www.django-rest-framework.org/"
7676
</div>
7777

7878
<!-- Dist.js - Inlcuded Live API, jQuery, Bootstrap -->
79+
{% block script %}
7980
<script type="text/javascript" src="{% static "rest_framework_docs/js/dist.min.js" %}"></script>
81+
{% endblock %}
8082
</body>
8183
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /