Do you use nonrel-search? Do you want to paginate your search results and it does not work?
Go and see this issue: https://bitbucket.org/Wilfred/nonrel-search/issue/4/slicing-issue-in-relationindexquery-class
The provided patch seems to work for me.
Django, Python
Got this error? No module named fancy_urllib? Is Django + Google App Engine your set up?
Probably you have GAE SDK in your PYTHONPATH. It should be in your PATH only, NOT PYTHONPATH (it's mentioned in installation manual but who reads them ...
).
Python
Probably you know the ternary operator syntax in Java (at least I hope so
). Just as a reminder the syntax was:
condition ? True_value : False_value
No question marks in Python!
Read more...
Python
python
If you are used to Java syntax (or another similar, verbose language), Python's list comprehension syntax might seem a little bit strange at first. However it is pretty straight forward and useful. I will try to show that on a few examples.
Read more...
java, Python