File "conniptions.py", line 24, in run_botAttributeError: 'filter' object has no attribute 'append'任何帮助都将不胜感激,我已经尝试解决这个问题有一段时间了,但是我对Python还很陌生,所以我已经没有想法了。
我让一切正常工作,但是当我在浏览器中加载细节视图时,我看到一个错误,上面写着type object 'Post' has no attribute 'published',我在下面发布了我的代码。模型: """docstring for Post."""timezone.now().date(): #content_type =
publication_date, slug=self.kwargs.get("pk", None))return Article.objects.filter返回相同的错误)AttributeError at /articles/2015/03/04/nouveau-site/
'Article' object has no attribute 'filterque
所以我在for loop中使用for loop,所以如果是any tag used 10 times then create notification,但是当我试图使用count时,它会显示class Post(models.Model):
post_user = models.ForeignKey(User, on_delete=models.CASCADE= models.ForeignKey(Post