id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 16698 Docs: QuerySet slicing (SQL LIMIT) Thomas Güttler nobody "The current documentation for QuerySet slicing (SQL LIMIT) should be improved: https://docs.djangoproject.com/en/dev/topics/db/queries/#limiting-querysets {{{ current: For example, this returns the first 5 objects (LIMIT 5): >>> Entry.objects.all()[:5] }}} {{{ add: No Exception will be raised, if there are fewer results. If there are only four entries in the database table, the result will contain four entries. }}} " Cleanup/optimization closed Documentation 1.3 Normal wontfix Unreviewed 0 0 0 0 0 0