Traceback:
Traceback (most recent call last): File "my_script.py", line 16, in <module> django.setup() File "c:\Python27\lib\site-packages\django\__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "c:\Python27\lib\site-packages\django\apps\registry.py", line 85, in populate app_config = AppConfig.create(entry) File "c:\Python27\lib\site-packages\django\apps\config.py", line 112, in create mod = import_module(mod_path) File "c:\Python27\lib\importlib\__init__.py", line 37, in import_module __import__(name) File "c:\Python27\lib\site-packages\django\contrib\contenttypes\apps.py", line 7, in <module> from .management import update_contenttypes ImportError: cannot import name update_contenttypes
The script is used to work fine until I try to update django-allauth (which updated a ton of other packages: pytz, requests, oauthlib, requests-oauthlib and Django (although I Ctrl-C'd when he started to want to update Django. I am using Django 1.8.5)
source share