djangosnippets.org: Latest snippets tagged with 'ordered'http://djangosnippets.org/tags/ordered/2009-06-09T16:06:16.821329-05:00SortableModel - abstract model class for sortable records
2009-06-09T16:06:16.821329-05:00bendavis78http://djangosnippets.org/snippets/1560/<p>If you have a model that has an "ordering" column, and you want to be able to re-position records (eg, order items by priority), this base class should make it fairly easy. To use it, you extend your model using this abstract class, then hook up the pre_save event to …</p>
Freely redistributable