djangosnippets.org: Latest snippets tagged with 'seeded'https://djangosnippets.org/tags/seeded/2015-02-25T15:51:23.691037-06:00Seeded Randomized Querysets w/ Pagination Mixin
2015-02-25T15:51:23.691037-06:00ScottBarkmanhttps://djangosnippets.org/snippets/10468/<p>Mixin to support pagination when randomizing querysets. </p>
<p>Requirements: Postgres, Django Sessions</p>
<p>Note: This shouldn't be used on large complex datasets. It utilizes the relatively slow method of '?' randomized sorting. Use with caution. </p>
<p>Todo: MySQL support, Support for larger datasets</p>
Freely redistributable