fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Migrated to new Google Analytics code.
[wolnelektury.git]
/
apps
/
catalogue
/
views.py
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
c9d6ab2
..
f284e0a
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-157,7
+157,7
@@
def search(request):
def tags_starting_with(request):
- prefix = request.GET
['q']
+ prefix = request.GET
.get('q', '')
# Prefix must have at least 2 characters
if len(prefix) < 2:
return HttpResponse('')