﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25864	AppRegistryNotReady exception since update from 1.8.7 to 1.9	stephanm	nobody	"Hi,

I have a script which worked in django 1.8
but does no more in django 1.9, I get the exception:
{{{django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet}}}

Unfortunately I didn't find a hint in the release notes

{{{#!py
from myapp.models import MyModel1 # here is the exception
...
if __name__ == ""__main__"":
    
    import django
    django.setup()
    # my code follows
}}}"	Uncategorized	closed	Uncategorized	1.9	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
