python - Django manage.py fails with "populate() isn't reentrant locally", but works on heroku -


i've got bit of odd problem django running correctly on remote, failing locally. i'm developing django webapp , attempting use makemigrations add few new fields models. whenever run makemigrations directly on heroku, functions correctly:

migrations 'users':   0001_initial.py:     - create model customuser     - create model corporateuser     - create model normaluser 

but doesn't save. first time using migrations: migrated django 1.6.

i know need run makemigrations locally , push remote, whenever try use manage.py locally, following error:

traceback (most recent call last):   file "manage.py", line 10, in <module>     execute_from_command_line(sys.argv)   file "/users/bniii/anaconda/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute()   file "/users/bniii/anaconda/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute django.setup()   file "/users/bniii/anaconda/lib/python2.7/site-packages/django/__init__.py", line 21, in setup apps.populate(settings.installed_apps)   file "/users/bniii/anaconda/lib/python2.7/site-packages/django/apps/registry.py", line 78, in populate raise runtimeerror("populate() isn't reentrant") runtimeerror: populate() isn't reentrant 

the 1 resource find on specific question seemed it's related installed apps, , these have:

installed_apps = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles',  'users',  #my app  'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'bootstrapform', ) 

if comment out auth related apps, manage.py seems not throw errors, in place error. know why might be?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -