Implemented frontend for search

This commit is contained in:
Edgar P. Burkhart 2023-04-22 12:20:03 +02:00
parent f6e8b583cc
commit c9d1496e00
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 2 additions and 1 deletions

View file

@ -50,6 +50,7 @@ INSTALLED_APPS = [
"category", "category",
"statement", "statement",
"transaction", "transaction",
"search",
"django.contrib.admin", "django.contrib.admin",
"django.contrib.auth", "django.contrib.auth",
"django.contrib.contenttypes", "django.contrib.contenttypes",

View file

@ -14,7 +14,7 @@ from .forms import SearchForm
class SearchFormView(LoginRequiredMixin, FormView): class SearchFormView(LoginRequiredMixin, FormView):
template_name = "main/search.html" template_name = "search/search.html"
form_class = SearchForm form_class = SearchForm
def form_valid(self, form): def form_valid(self, form):