fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3e5e205
)
Removed forgotten debug line.
author
Marek Stępniowski
<marek@stepniowski.com>
Sun, 31 Aug 2008 23:26:38 +0000
(
01:26
+0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Sun, 31 Aug 2008 23:26:38 +0000
(
01:26
+0200)
catalogue/views.py
patch
|
blob
|
history
diff --git
a/catalogue/views.py
b/catalogue/views.py
index
ed0436e
..
49f4196
100644
(file)
--- a/
catalogue/views.py
+++ b/
catalogue/views.py
@@
-36,7
+36,6
@@
def search(request):
tag_list = models.Tag.get_tag_list(tags)
tag = models.Tag.objects.get(name=query)
except models.Tag.DoesNotExist:
tag_list = models.Tag.get_tag_list(tags)
tag = models.Tag.objects.get(name=query)
except models.Tag.DoesNotExist:
- print "%r, %r" % (query, tags)
try:
book = models.Book.objects.get(title=query)
return HttpResponseRedirect(book.get_absolute_url())
try:
book = models.Book.objects.get(title=query)
return HttpResponseRedirect(book.get_absolute_url())