#12291: Order of app_store items should mirror INSTALLED_APPS
------------------------------------------+---------------------------------
 Reporter:  phuihock                      |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  Database layer (models, ORM)  |     Version:  1.0       
 Keywords:                                |       Stage:  Unreviewed
Has_patch:  1                             |  
------------------------------------------+---------------------------------
 An app triggered _populate call (while loading apps the first time) will
 alter the order of the models in app_store dictionary, in a way that is
 different than the order as declared in INSTALLED_APPS. For example, when
 {{{INSTALLED_APPS = [a, b, c]}}}, and a has a call to
 {{{get_model(c.models.x)}}}, the return value of {{{get_apps()}}} is
 {{{[a, c, b]}}}.

 The order of the apps, as returned by {{{get_apps()}}}, should mirror
 INSTALLED_APPS so that the initial data (the primary keys) of
 auth_permission and django_content_type are not altered when new app is
 appended to INSTALLED_APPS.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12291>
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