#30464: 'AppRegistryNotReady' error after Django Upgrade from 1.8 to 1.11 
version
-------------------------------------+-------------------------------------
               Reporter:  vinay      |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  1.11
  Uncategorized                      |       Keywords:  Django Upgrade,
               Severity:  Normal     |  Django-1.11, Django-1.8,
           Triage Stage:             |  AppRegistryNotReady
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 In our process of upgrading our Django project from 1.8 to 1.11 version,
 we removed all the deprecation warnings/errors according to Django-1.11
 release notes.
 But, after updating the Django version to 1.11 in the project's virtual
 environment, we got the following error:

 {{{
 raise AppRegistryNotReady("Apps aren't loaded yet.")
 django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
 }}}
 We have many installed apps in the project and using PostgreSQL-9.5
 database. We know that the apps which have model classes in it, cause this
 error to occur.
 The above error even occured when connecting to the database using
 connection cursor:

 {{{
 django.db.connection.cursor().execute()
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30464>
Django <https://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 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/048.bd66c0935ffe3212025d48314ad34a92%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to