#10263: order_by parameter for inlineformset_factory and BaseInlineFormSet
--------------------------------------------------------------------------+-
 Reporter:  Paulo Scardine <pa...@scardine.com.br>                        |     
  Owner:  nobody    
   Status:  new                                                           |   
Milestone:            
Component:  Forms                                                         |     
Version:  1.0       
 Keywords:  inlineformset_factory BaseInlineFormSet inline model formset  |     
  Stage:  Unreviewed
Has_patch:  1                                                             |  
--------------------------------------------------------------------------+-
 == Problem ==

 At inlineformset_factory and BaseInlineFormSet constructor there is no
 option to specify order_by criteria for the resulting queryset.

 The record order at the rendered formset will depend on the order returned
 by the database layer; notably PostgreSQL may change this order after
 every update. When using PRG (Post/Redirect/Get) the result is unpleasant
 and may confuse users.

 == Proposed Solution ==

 I would like to add an order_by parameter to inlineformset_factory and
 BaseInlineFormSet.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10263>
Django <http://code.djangoproject.com/>
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-updates@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to