django search and filter in Google App Engine
Posted
by alexarsh
on Stack Overflow
See other posts from Stack Overflow
or by alexarsh
Published on 2010-04-02T10:40:49Z
Indexed on
2010/04/02
10:43 UTC
Read the original article
Hit count: 304
django
|google-app-engine
Hi,
I'm trying to add filter and search to my site. It's exactly the same code as in another working django project. The difference is that this time I do it with app engine.
my views: http://slexy.org/view/s21GMw2sh1
I have 2 problems:
1.) I get error: "'Query' object has no attribute 'all'" on line 59 in views. As I understand it's something to do with the fact that GAE queryset is different from django queryset. How can I fix that?
2.) If I have 'search' in my request.GET I also fall on line 54 in my views. This is because I can't search by Q object in GAE, I guess. How can I fix that?
Thanks, Alex A.
© Stack Overflow or respective owner