Merge pull request #9 from yakky/master

Fix CustomInlineFormSet to allow customization
Bumped to version 0.2.4
Added example howto
Fixed example paragraph
Update README.md
Update README.md
Added ability to drag/drop new entries in tabular inline sets.

In order to implement this, I needed to make two changes, one of
which is fairly significant.

1) The javascript no longer limits the drag mechanism to <td>'s with
the "has_original" class.
2) The CustomInlineFormSet.save_new() function now checks default_sort_order
to see whether it's 0, intead of checking its type. This necessitated a change
to the documentation, stating that "default=0" must be added to the sort field.

The default has to be zero for two reasons:

1) It simplifies that check in CustomInlineFormSet.save_new(). A default of 0 is
compatible with the javascript, since it uses 1-indexed sorting.
2) Users of the newest South versions are forced to provide a default value when
they add a new sort field to their model.

Ultimately, this change allows us to know for certain what the default value will
be for a new inline entry which has not yet been dragged, allowing the max_order
algorithm to work properly in all cases.
Fixed the way that the CustomInlineFormset class gets used.

Rather than executing inlineformset_factory() in the constructor,
SortableInlineAdminMixin now specifies the 'formset' class attribute just
like admin.InlineModelAdmin does it. Since users already have to put the
SortableInlineAdminMixin before admin.TabularInline in the class definition,
this means that admin.InlineModelAdmin.formset gets overridden, letting
admin.InlineModelAdmin.get_formset() do it's job as usual.
Fixed the way that the CustomInlineFormset class gets used.

Rather than executing inlineformset_factory() in the constructor,
SortableInlineAdminMixin now specifies the 'formset' class attribute just
like admin.InlineModelAdmin does it. Since users already have to put the
SortableInlineAdminMixin before admin.TabularInline in the class definition,
this means that admin.InlineModelAdmin.formset gets overridden, letting
admin.InlineModelAdmin.get_formset() do it's job as usual.

Signed-off-by: Robert Rollins <rrollins@caltech.edu>
Merge pull request #12 from coredumperror/formset_fix

Fixed the way that the CustomInlineFormset class gets used.
Merge pull request #11 from coredumperror/master

Added ability to drag/drop new entries in tabular inline sets.
Unit tests only for Django-1.5 and 1.6
Fixes issue #14
Merge branch 'master' of ssh://github.com/jrief/django-admin-sortable2
Removed useless imports
Partially fixed issue #14: fix a bug when reverse sorting is set
Fix issue #13: Clicking SORT column header on changelist throws an error
Actions move to next/prev/first/last page are added only if required
Adding actions for moving elements only when it makes sense
Renamed get_queryset -> queryset to be backward compatible