brian-zhao / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

ImportError: cannot import name SMTPConnection #206

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm getting this error below what should I do?

INFO:root:Beginning bootstrap...
INFO:root:Finishing bootstrap.
Traceback (most recent call last):
  File "manage.py", line 35, in <module>
    InstallAppengineHelperForDjango()
  File "/home/george/jaikuengine/appengine_django/__init__.py", line 560, in InstallAppengineHelperForDjango
    InstallGoogleSMTPConnection()
  File "/home/george/jaikuengine/appengine_django/__init__.py", line 568, in InstallGoogleSMTPConnection
    from appengine_django import mail as gmail
  File "/home/george/jaikuengine/appengine_django/mail.py", line 27, in <module>
    from django.core.mail import SMTPConnection
ImportError: cannot import name SMTPConnection

Original issue reported on code.google.com by Udakuzi2...@gmail.com on 23 Jul 2013 at 11:47

GoogleCodeExporter commented 8 years ago
I got the same problem right now...
The SMTPConnection class has been deprecated after Django1.2. so if you want to 
use Django in this way, back to Django1.0 may be the easiest solution.

Original comment by liushuo1...@gmail.com on 23 Sep 2013 at 3:05