#9076: Inline forms can result in a "Please correct the errors below." message
with no errors listed.
---------------------------------+------------------------------------------
          Reporter:  coady       |         Owner:  nobody
            Status:  reopened    |     Milestone:        
         Component:  Forms       |       Version:  1.0   
        Resolution:              |      Keywords:        
             Stage:  Unreviewed  |     Has_patch:  0     
        Needs_docs:  0           |   Needs_tests:  0     
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Changes (by bthomas):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I just ran into this issue as well. I noticed the SQL for getting the
 inline models (SELECT * from table where parent_id = 123 LIMIT 1 OFFSET x)
 apparently gives inconsistent results on PostgreSQL with default ordering
 in some cases. I set an ordering on my model and the problem went away.

 The admin site probably needs to evaluate a queryset for the inlines, and
 pass that to the formset to prevent it from creating a new queryset for
 each inline and indexing into it. (Side note: it takes a long time to load
 admin pages that have several hundred hundred inline models. Yes, I
 probably shouldn't do that, but I don't think Django should run a separate
 query for each one :p)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9076#comment:7>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to