diff --git a/nummi/nummi/settings.py b/nummi/nummi/settings.py index a2cc1e9..28af502 100644 --- a/nummi/nummi/settings.py +++ b/nummi/nummi/settings.py @@ -50,6 +50,7 @@ INSTALLED_APPS = [ "category", "statement", "transaction", + "search", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", diff --git a/nummi/main/templates/main/search.html b/nummi/search/templates/search/search.html similarity index 100% rename from nummi/main/templates/main/search.html rename to nummi/search/templates/search/search.html diff --git a/nummi/search/views.py b/nummi/search/views.py index c41965c..6a0dd10 100644 --- a/nummi/search/views.py +++ b/nummi/search/views.py @@ -14,7 +14,7 @@ from .forms import SearchForm class SearchFormView(LoginRequiredMixin, FormView): - template_name = "main/search.html" + template_name = "search/search.html" form_class = SearchForm def form_valid(self, form):