LocaleMiddleware has already been commented out before I posted this question. See the full Middleware Classes section of settings.py. MIDDLEWARE_CLASSES = ( #'django.middleware.gzip.GZipMiddleware', #'askbot.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', #'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', #'django.middleware.cache.FetchFromCacheMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', #'django.middleware.sqlprint.SqlPrintingMiddleware
finid ( 2012-07-09 02:09:22 -0500 )editStrange that removing the middleware didn't fix it. You can always try giving ASKBOT_LANGUAGE a value.
paulus_almighty ( 2012-07-14 13:59:07 -0500 )edit
The
Evgeny ( 2012-07-08 11:57:43 -0500 )editSERVER_EMAILsetting is incorrect - an email address is expected there, maybe that's the issue. Also maybe you don't have mailbox set up at webfaction or credentials are invalid. The UI for email testing is a good idea.But if an email is expected at SERVER_EMAIL, will that be the same as the value of DEFAULT_FROM_EMAIL ? Btw, there is a mailbox set up and the email credentials are correct. In any case, I'll test it with the value of SERVER_EMAIL set to the same as DEFAULT_FROM_EMAIL and see if it works. And thanks for replying.
finid ( 2012-07-08 18:29:10 -0500 )editIt can be any valid email address, does not matter which exactly, but better match the domain name to the mail server domain, otherwise your messages can be filtered out as spam.
Evgeny ( 2012-07-08 18:40:51 -0500 )editI just set both email address the same, and, yes, they match the mail servers domain name. Still does not work. Just to be sure, EMAIL_HOST_USER is the name of the mailbox, right?
finid ( 2012-07-08 19:27:11 -0500 )editWhen I type "python manage.py", I get this output: "Traceback (most recent call last): File "manage.py", line 2, in <module> from django.core.management import execute_manager ImportError: No module named django.core.management." I'm new to django, so not sure what to do here.
finid ( 2012-07-08 21:33:21 -0500 )edit