From 7aeb983f99cc88dbfe45cf1a236955462cab4c2b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 2 Nov 2022 23:15:38 +0100 Subject: [PATCH] Rename snippets --- .../templates/character/{view.html => character_details.html} | 0 .../templates/character/{list.html => characters_list.html} | 0 src/character/views.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/character/templates/character/{view.html => character_details.html} (100%) rename src/character/templates/character/{list.html => characters_list.html} (100%) diff --git a/src/character/templates/character/view.html b/src/character/templates/character/character_details.html similarity index 100% rename from src/character/templates/character/view.html rename to src/character/templates/character/character_details.html diff --git a/src/character/templates/character/list.html b/src/character/templates/character/characters_list.html similarity index 100% rename from src/character/templates/character/list.html rename to src/character/templates/character/characters_list.html diff --git a/src/character/views.py b/src/character/views.py index d968e4d..27f3fdf 100644 --- a/src/character/views.py +++ b/src/character/views.py @@ -15,7 +15,7 @@ def characters_list(request): "race", "profile" ) } - return render(request, "character/list.html", context) + return render(request, "character/characters_list.html", context) @login_required @@ -37,7 +37,7 @@ def character_view(request, pk: int): "add_path_form": add_path_form, "all_states": HarmfulState.objects.all(), } - return render(request, "character/view.html", context) + return render(request, "character/character_details.html", context) @login_required