diff --git a/gallery/templates/gallery/search.html b/gallery/templates/gallery/album_search.html similarity index 100% rename from gallery/templates/gallery/search.html rename to gallery/templates/gallery/album_search.html diff --git a/gallery/views.py b/gallery/views.py index 2bb8dc0..a45d0bb 100644 --- a/gallery/views.py +++ b/gallery/views.py @@ -195,7 +195,7 @@ class PhotoSlideshow(DetailView): class Search(TemplateView): """Search view for public albums by name, place or city.""" - template_name = "gallery/search.html" + template_name = "gallery/album_search.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs)