From a119957313612354d05951911336b63f88d56831 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 3 Sep 2020 20:06:03 +0200 Subject: [PATCH] Moved flat templates to subfolder. --- lostplaces/lostplaces_app/urls.py | 2 +- lostplaces/lostplaces_app/views/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lostplaces/lostplaces_app/urls.py b/lostplaces/lostplaces_app/urls.py index d10e67b..2d77987 100644 --- a/lostplaces/lostplaces_app/urls.py +++ b/lostplaces/lostplaces_app/urls.py @@ -22,5 +22,5 @@ urlpatterns = [ path('place/update//', PlaceUpdateView.as_view(), name='place_edit'), path('place/delete//', PlaceDeleteView.as_view(), name='place_delete'), path('place/', PlaceListView.as_view(), name='place_list'), - path('codex/', CodexView, name='codex') + path('codex/', CodexView, name='codex'), ] diff --git a/lostplaces/lostplaces_app/views/views.py b/lostplaces/lostplaces_app/views/views.py index 1970bee..e0bcbef 100644 --- a/lostplaces/lostplaces_app/views/views.py +++ b/lostplaces/lostplaces_app/views/views.py @@ -50,4 +50,4 @@ class PhotoAlbumDeleteView(PlaceAssetDeleteView): permission_denied_messsage = 'You do not have permissions to alter this photo album' def CodexView(request): - return render(request, 'codex.html') + return render(request, 'flat/codex.html')