I\'ve just updated to Django v1.8, and testing my local setup before updating my project and I\'ve had a deprecation warning that I\'ve never seen before, nor does it make a
Sometimes an invalid .pyc files that doesnt match with the current source code caused this problem.
I removed all .pyc to refresh all of them using this bash
find . -name "*.pyc" -exec rm -rf {} \;