Moved flat templates to subfolder.

This commit is contained in:
Marcus Scholz 2020-09-03 20:06:03 +02:00
parent 6bbc33c9d6
commit a119957313
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ urlpatterns = [
path('place/update/<int:pk>/', PlaceUpdateView.as_view(), name='place_edit'), path('place/update/<int:pk>/', PlaceUpdateView.as_view(), name='place_edit'),
path('place/delete/<int:pk>/', PlaceDeleteView.as_view(), name='place_delete'), path('place/delete/<int:pk>/', PlaceDeleteView.as_view(), name='place_delete'),
path('place/', PlaceListView.as_view(), name='place_list'), path('place/', PlaceListView.as_view(), name='place_list'),
path('codex/', CodexView, name='codex') path('codex/', CodexView, name='codex'),
] ]

View File

@ -50,4 +50,4 @@ class PhotoAlbumDeleteView(PlaceAssetDeleteView):
permission_denied_messsage = 'You do not have permissions to alter this photo album' permission_denied_messsage = 'You do not have permissions to alter this photo album'
def CodexView(request): def CodexView(request):
return render(request, 'codex.html') return render(request, 'flat/codex.html')