Re: Django 1.9 Apps aren't loaded yet

2018-02-18 Thread Kaleemullah Rao
> > I am getting this error while i create a newapp and integrate in the >>> setting and urls file in sample project >> >> C:\Users\RaoKaleemullah\Desktop\django-tutorial\sample>python manage.py >>> runserve >> >> r >> >> Traceback (most recent call last): >> >> File "manage.py", line 10, in

Re: Django 1.9 Apps aren't loaded yet

2016-04-26 Thread marcin . j . nowak
On Monday, April 25, 2016 at 11:44:20 PM UTC+2, marcin@gmail.com wrote: > Just wondering about possibility to do some kind of late initialization. I've found Dectate library as a example of deferring configuration phase. I'm not talking about using it

Re: Django 1.9 Apps aren't loaded yet

2016-04-25 Thread marcin . j . nowak
Hi James, good to hear you. It is very good that app initialization is done within a special stage. I remember many problems related to imports and I'm happy that they will not occur anymore. I understand what is done and what for. Just wondering about possibility to do some kind of late init

Re: Django 1.9 Apps aren't loaded yet

2016-04-25 Thread James Bennett
On Mon, Apr 25, 2016 at 8:13 AM, wrote: > The initialization process of models seems to be good step in cleaning > many problems, but I don't understant why I can't import models. > The usage of the model should raise exception when it is not > loaded/initialized, but not importing a model class!

Re: Django 1.9 Apps aren't loaded yet

2016-04-25 Thread marcin . j . nowak
The initialization process of models seems to be good step in cleaning many problems, but I don't understant why I can't import models. The usage of the model should raise exception when it is not loaded/initialized, but not importing a model class! This requirement breaks packages encapsulation

Re: Django 1.9 Apps aren't loaded yet

2016-03-04 Thread Larry Martell
On Wed, Mar 2, 2016 at 9:34 AM, Michal Petrucha wrote: > On Wed, Mar 02, 2016 at 08:20:44AM -0500, Larry Martell wrote: >> On Wed, Mar 2, 2016 at 7:37 AM, Michal Petrucha >> wrote: >> > On Wed, Mar 02, 2016 at 07:05:53AM -0500, Larry Martell wrote: >> >> I am developing a django app. I had the ba

Re: Django 1.9 Apps aren't loaded yet

2016-03-02 Thread Michal Petrucha
On Wed, Mar 02, 2016 at 08:20:44AM -0500, Larry Martell wrote: > On Wed, Mar 2, 2016 at 7:37 AM, Michal Petrucha > wrote: > > On Wed, Mar 02, 2016 at 07:05:53AM -0500, Larry Martell wrote: > >> I am developing a django app. I had the basic site running, but I had > >> not yet created any models. I

Re: Django 1.9 Apps aren't loaded yet

2016-03-02 Thread Larry Martell
On Wed, Mar 2, 2016 at 7:37 AM, Michal Petrucha wrote: > On Wed, Mar 02, 2016 at 07:05:53AM -0500, Larry Martell wrote: >> I am developing a django app. I had the basic site running, but I had >> not yet created any models. I created a model, and now the server >> fails to start with "Apps aren't

Re: Django 1.9 Apps aren't loaded yet

2016-03-02 Thread Michal Petrucha
On Wed, Mar 02, 2016 at 07:05:53AM -0500, Larry Martell wrote: > I am developing a django app. I had the basic site running, but I had > not yet created any models. I created a model, and now the server > fails to start with "Apps aren't loaded yet" > > traceback below. Anyone know what I am doing