小编Jay*_*tel的帖子

sql 代理传输不支持广播

我的 celery 配置出现此错误。电子邮件不适用于通知。当我检查状态时

python manage.py celery -A app status
Run Code Online (Sandbox Code Playgroud)

它给了我:

broadcast not supported by sql broker transport
Run Code Online (Sandbox Code Playgroud)

我的 celeryconfig.py 有以下设置:

CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
BROKER_URL = 'django://'
Run Code Online (Sandbox Code Playgroud)

我的设置是 Django 1.6 + celery3.1.12 + postgresql + gunicorn

谢谢。

python django postgresql celery python-2.7

5
推荐指数
1
解决办法
1359
查看次数

django.db.utils.ProgrammingError:OenBSD vps上已存在关系

我收到了这个错误.我尝试使用migrate --fake默认但它似乎没有工作.附件是"python manage.py migrate"的输出我的设置是在OneBSD VPS上的Django 1.6 + celery3.1.12 + postgresql + gunicorn.

Running migrations for users:


- Migrating forwards to 0007_auto__del_field_profile_weekly_digest__del_field_profile_daily_digest_.
 > users:0001_initial
FATAL ERROR - The following SQL query failed: CREATE TABLE "users_user" ("id" serial NOT NULL PRIMARY KEY, "password" varchar(128) NOT NULL, "last_login" timestamp with time zone NOT NULL, "email" varchar(255) NOT NULL UNIQUE, "name" varchar(255) NOT NULL, "is_active" boolean NOT NULL, "is_admin" boolean NOT NULL, "is_staff" boolean NOT NULL, "type" integer NOT NULL, "status" integer NOT NULL, …
Run Code Online (Sandbox Code Playgroud)

django celery python-2.7

4
推荐指数
2
解决办法
7892
查看次数

标签 统计

celery ×2

django ×2

python-2.7 ×2

postgresql ×1

python ×1