Django "Error: cannot import name escape" on windows
- by Sam
I cannot run the dev server because of this error ("Error: cannot import name escape").
I assume its because of modifications I've done to the project, but i have no idea how to find where the error is originating from to fix it.
I don't import anything called escape anywhere.
Update
Using django-admin.py rather than the projects manage.py, don't know why...
Update 2
Now manage.py is working. This may be because I had a file called email.py which was trying to import email.mime.text (ie trying to import itself) renaming to sendemail.py solved this problem.