fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
template fix
[wolnelektury.git]
/
apps
/
dictionary
/
views.py
diff --git
a/apps/dictionary/views.py
b/apps/dictionary/views.py
index
e120063
..
47204fd
100755
(executable)
--- a/
apps/dictionary/views.py
+++ b/
apps/dictionary/views.py
@@
-3,11
+3,9
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.views.generic.list_detail import object_list
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.views.generic.list_detail import object_list
-from catalogue.forms import SearchForm
from dictionary.models import Note
def letter_notes(request, letter=None):
from dictionary.models import Note
def letter_notes(request, letter=None):
- form = SearchForm()
letters = ["0-9"] + [chr(a) for a in range(ord('a'), ord('z')+1)]
objects = Note.objects.all()
if letter == "0-9":
letters = ["0-9"] + [chr(a) for a in range(ord('a'), ord('z')+1)]
objects = Note.objects.all()
if letter == "0-9":