0👍
This is a conflict between your version of PyDev and your version of Django. In Django 1.6, django.core.management.setup_environ() was removed. This issue was fixed in PyDev on Feb 4, here: https://github.com/fabioz/Pydev/commit/f546ac4
If you update your installed version of PyDev to the latest (currently 3.4.1) this should begin to work for you.
0👍
I’m getting this on Django version 1.10.4 in Eclipse Neon with PyDev 4.1. The reason is that the script in Preferences -> PyDev -> Interactive Console -> Initial Commands evaluates Django version 1.10 as less than 1.5 and executes the commands for an invalid version of Django. The workaround solution is to delete all Django interpreter commands for the wrong version and only execute commands for version 1.7 and above.
- [Django]-Allowing basic html markup in django
- [Django]-Django saving form strings in database with extra characters (u'string')