Django "Error: cannot import name escape" on windows
Posted
by Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2010-03-07T08:15:28Z
Indexed on
2010/03/08
15:36 UTC
Read the original article
Hit count: 273
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.
© Stack Overflow or respective owner