On Wed, Mar 2, 2016 at 7:37 AM, Michal Petrucha
<michal.petrucha@koniiiik.org> 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 loaded yet"
>>
>> traceback below. Anyone know what I am doing wrong?
>
> The problem is that one of your applications (foo.app.scripts) imports
> models in its top-level __init__.py. This is not supported; for an
> explanation, you can read
> https://docs.djangoproject.com/en/1.9/ref/applications/#how-applications-are-loaded
Thanks you very much for the quick reply. Is there some workaround for
this? What version was this issued introduced in? This code works in
1.5.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY7Y86anuYEKs9X%2Bw%2B27NBFixySwyN--drqVf%2B14%3DEwQ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment