Skip to content

Commit 2204b0b

Browse files
author
Emmanouil Konstantinidis
committed
Rename templates dir
1 parent 972c160 commit 2204b0b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

rest_framework_docs/templates/drfdocs/home.html renamed to rest_framework_docs/templates/rest_framework_docs/home.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
{% extends "drfdocs/base.html" %}
1+
{% extends "rest_framework_docs/base.html" %}
22

33
{% block apps_menu %}
44
{% regroup endpoints by name_parent as endpoints_grouped %}
55
<li class="dropdown">
66
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Jump To <span class="caret"></span></a>
77
<ul class="dropdown-menu">
8-
<!-- <li><a href="#dd">ddsf{{group.grouper}}</a></li> -->
98
{% for group in endpoints_grouped %}
109
<li><a href="#{{ group.grouper|lower }}">{{ group.grouper }}</a></li>
1110
{% endfor %}

rest_framework_docs/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class DRFDocsView(TemplateView):
66

7-
template_name = "drfdocs/home.html"
7+
template_name = "rest_framework_docs/home.html"
88

99
def get_context_data(self, **kwargs):
1010
context = super(DRFDocsView, self).get_context_data(**kwargs)

0 commit comments

Comments
 (0)