Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortable StackedInline Fields #137

Closed
yigitguler opened this issue Aug 5, 2013 · 9 comments
Closed

Sortable StackedInline Fields #137

yigitguler opened this issue Aug 5, 2013 · 9 comments

Comments

@yigitguler
Copy link

Hi,

I love this project! I am using it for months and the only lacking feature i feel until now is that there is no sorting support for sortable StackedInline fields. And the documentation says that i shouldn't hesitate to make request for this feature. :) So i fell myself ok to make a request for this feature. It was a life-saver feature in grappelli.

@darklow
Copy link
Owner

darklow commented Aug 7, 2013

No worries - I knew this issue will appear in some time :)
I'll try to make this feature for the next version.

@vargasmolina
Copy link

class Informacion_Inline(admin.StackedInline,SortableTabularInline):
model = Informacion
extra = 0
sortable=('peso')
suit_classes = 'suit-tab suit-tab-informacion'

may be a SortableStackedInline?

@darklow
Copy link
Owner

darklow commented Nov 9, 2013

@vargasmolina Sorry, i don't understand your issue

@vargasmolina
Copy link

I was struggling to sort vertically.
this code is good?

@darklow
Copy link
Owner

darklow commented Nov 12, 2013

@vargasmolina Currently django-suit supports only TabularInline, that's what this issue is about.
http://django-suit.readthedocs.org/en/develop/sortables.html#tabular-inlines-sortable

@mcat
Copy link

mcat commented Mar 17, 2014

sortable StackedInline would be a very useful addition.

@darklow
Copy link
Owner

darklow commented Mar 21, 2014

Sortables for Stacked and also Generic inlines have just been added.
Install latest v0.2.7 ;)

Docs:
http://django-suit.readthedocs.org/en/develop/sortables.html#stacked-and-generic-inlines-sortable

pip install -U django-suit 

@darklow darklow closed this as completed Mar 21, 2014
@yigitguler
Copy link
Author

Awesome!

@jbub
Copy link

jbub commented Mar 21, 2014

lovely!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants