Re: [Django] #14238: admin-interface and formsets: ordered_forms are not returned in case of errors

2013-07-18 Thread Django
#14238: admin-interface and formsets: ordered_forms are not returned in case of
errors
---+--
 Reporter:  sehmaschine@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  contrib.admin  |  Version:  1.2
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by sehmaschine@…):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


Comment:

 You have explained the testcase yourself – the problem is that the forms
 are ordered by the stored/database value instead of the form–value.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/079.31252d4547b407d845a961ff7d3e939f%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #14238: admin-interface and formsets: ordered_forms are not returned in case of errors

2010-12-27 Thread Django
#14238: admin-interface and formsets: ordered_forms are not returned in case of
errors
+---
  Reporter:  sehmasch...@gmail.com  | Owner:  nobody
Status:  closed | Milestone:
 Component:  django.contrib.admin   |   Version:  1.2   
Resolution:  invalid|  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by julien):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 I think #11801 is a different issue. In your case, the forms are displayed
 in the wrong order probably because the objects haven't been saved
 (because there was a validation error) and because the ordering is
 probably based on the values that are stored in the database and not the
 values that are temporarily "stored" in the forms. It looks like you would
 have to use some custom javascript to reorder the inlines based on the
 values that are in the forms.

 In any case, there's not much we can do without seeing any specific test
 case, so I'm marking this ticket as invalid. Feel free to reopen if you
 can provide such a detailed test case (e.g. models, admin configurations,
 etc). You may also try asking for help on the Django user mailing list:
 http://groups.google.com/group/django-users/topics

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14238: admin-interface and formsets: ordered_forms are not returned in case of errors

2010-12-20 Thread Django
#14238: admin-interface and formsets: ordered_forms are not returned in case of
errors
+---
  Reporter:  sehmasch...@gmail.com  | Owner:  nobody
Status:  new| Milestone:
 Component:  django.contrib.admin   |   Version:  1.2   
Resolution: |  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by anonymous):

 * cc: sehmasch...@gmail.com (added)
  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #14238: admin-interface and formsets: ordered_forms are not returned in case of errors

2010-09-09 Thread Django
#14238: admin-interface and formsets: ordered_forms are not returned in case of
errors
---+
 Reporter:  sehmasch...@gmail.com  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  django.contrib.admin   | Version:  1.2   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 ticket http://code.djangoproject.com/ticket/11801 seems to address this
 issue - though it´s not solved with the admin-interface yet.

 an example:
 I´m having tabular-inlines and I´m reordering the forms. now, in case of
 an error (somewhere, not necessarily within this formset), the forms are
 displayed in the wrong order (as before re-ordering them). solving this
 issue would allow for sortable inlines (e.g. with drag/drop-
 functionality).
 of course, InlineModelAdmin needs something like can_order (which is
 currently not available).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.