starryrbs

Results 13 comments of starryrbs

I also am seeing the same error, any help would be appreciated, thanks

You can try the following code: ``` config.PipelineScheduler.Tag("1").CronWithSeconds("*/5 * * * * *").Do(mytask, "1", "Africa/Johannesburg") ``` => ``` config.PipelineScheduler.CronWithSeconds("*/5 * * * * *").Tag("1").Do(mytask, "1", "Africa/Johannesburg") ```

You can submit a pull request to catch the exception. Refer to the pull request: https://github.com/starryrbs/django-comment-migrate/pull/43/files#diff-b9b440b2c40b366c0156b96601676c723ee6180ee3ac10a0503096f25b5916f9R40

你配置了这一步吗?在settings.py文件 ``` INSTALLED_APPS =[ "django_comment_migrate", ... ] ```

你可以检查两件事: 1. 你是否执行了 makemigrations 2. 数据库中是否存在 auth_user表

你的 `django-comment-migrate`是最新版本吗? 还有“继承原生的user表”这一段代码可以展示一下吗?

我试了一下是正常的,我的代码是这样的: user/models.py ``` from django.contrib.auth.models import AbstractUser # Create your models here. class User(AbstractUser): pass ``` project/settings.py ``` INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'user', 'django_comment_migrate' ]...

加一些字段和使用 'django.contrib.admin',并不会影响结果,你是这一步没有设置吧? ``` AUTH_USER_MODEL = 'user.User' ```

看了一下你的代码,应该是没有问题的,可以展示一下全部的报错堆栈信息吗?