I'm upgrading a Django 1.4.12 app to Django 1.8.2
Running
python manage.py runserver
Or any other manage.py
command hangs with no error.
Other things I tried:
--verbosity 3
-Wall
None of which gives me any feebdack and all of which hang (-Wall
prints a list of warning coming from matplotlib
, but nothing else).
Any idea how I can start debugging this problem?
I'm using a virtualenv and Canopy python on Mac OSX.
UPDATE
I upgraded release by release and:
- it works with 1.5, 1.6
- it stops working on 1.7 and up.
In 1.7 and up I get the error:
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
So I add:
import django
django.setup()
in the models.py
that raises the error.
Could it have something to do with that?