Author: floguy
Date: Sat Sep 20 20:35:12 2008
New Revision: 16
Modified:
trunk/things/options.py
Log:
Typo
Modified: trunk/things/options.py
==============================================================================
--- trunk/things/options.py (original)
+++ trunk/things/options.py Sat Sep 20 20:35:12 2008
@@ -50,7 +50,7 @@
if terms and bool(self.search):
kwargs = {}
if isinstance(self.search, basestring):
- items = items.filter(**{"%s__icontains" % self.search,
terms})
+ items = items.filter(**{"%s__icontains" % self.search:
terms})
else:
q_list = [Q(**{'%s__icontains' % s: terms}) for s in
self.search]
items = items.filter(reduce(or_, q_list))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---