Fixed syntax error on Python expression on docs.
Removed unused import.
Simplified iteration over results on connection and query.
Forbade QuerySet to be iterated without a limit.