Rename .djhtml files to .dj.html

This commit is contained in:
Adam Goldsmith 2022-01-23 23:01:47 -05:00
parent c1c6a5a4ef
commit cc18c78235
10 changed files with 13 additions and 13 deletions

View File

@ -26,9 +26,9 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('auth/', include([
path('login/', LoginView.as_view(
template_name="auth/login.djhtml",
template_name="auth/login.dj.html",
redirect_authenticated_user=True), name='login'),
path('logout/', LogoutView.as_view(template_name="auth/logout.djhtml"), name='logout'),
path('logout/', LogoutView.as_view(template_name="auth/logout.dj.html"), name='logout'),
])),
path('markdownx/', include('markdownx.urls')),
]

View File

@ -1,10 +1,10 @@
{% extends "base.djhtml" %}
{% extends "base.dj.html" %}
{% block content %}
<h1> Tools </h1>
<ul>
{% for tool in tools %}
{% include "./components/tool_li.djhtml" with tool=tool %}
{% include "./components/tool_li.dj.html" with tool=tool %}
{% empty %}
<p>No tools are available.</p>
{% endfor %}
@ -13,7 +13,7 @@
<h1> Tasks </h1>
<ul>
{% for task in tasks %}
{% include "./components/task_li.djhtml" with task=task %}
{% include "./components/task_li.dj.html" with task=task %}
{% empty %}
<p>No tasks are available.</p>
{% endfor %}

View File

@ -1,4 +1,4 @@
{% extends "base.djhtml" %}
{% extends "base.dj.html" %}
{% load markdownify %}
{% load widget_tweaks %}

View File

@ -1,4 +1,4 @@
{% extends "base.djhtml" %}
{% extends "base.dj.html" %}
{% load markdownify %}
@ -18,7 +18,7 @@
<h2>Tasks</h2>
<ul>
{% for task in tasks %}
{% include "./components/task_li.djhtml" with task=task %}
{% include "./components/task_li.dj.html" with task=task %}
{% endfor %}
</ul>
</section>

View File

@ -10,7 +10,7 @@ def index(request):
'tools': Tool.objects.all(),
'tasks': Task.objects.all(),
}
return render(request, 'tasks/index.djhtml', context)
return render(request, 'tasks/index.dj.html', context)
def toolDetail(request, tool_slug):
@ -22,7 +22,7 @@ def toolDetail(request, tool_slug):
'tasks': tasks,
'events': events,
}
return render(request, 'tasks/toolDetail.djhtml', context)
return render(request, 'tasks/toolDetail.dj.html', context)
def taskDetail(request, tool_slug, task_slug):
@ -55,4 +55,4 @@ def taskDetail(request, tool_slug, task_slug):
'task_subs': task.grouptasksubscription_set.filter(group__user=request.user),
'tool_subs': tool.grouptoolsubscription_set.filter(group__user=request.user),
})
return render(request, 'tasks/taskDetail.djhtml', context)
return render(request, 'tasks/taskDetail.dj.html', context)

View File

@ -1,4 +1,4 @@
{% extends "base.djhtml" %}
{% extends "base.dj.html" %}
{% load widget_tweaks %}

View File

@ -1,4 +1,4 @@
{% extends "base.djhtml" %}
{% extends "base.dj.html" %}
{% block title %} Logout {% endblock %}