'int' object has no attribute 'content'
| Request Method: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/blog/detail/28 |
| Django Version: | 2.2.4 |
| Exception Type: | AttributeError |
| Exception Value: | 'int' object has no attribute 'content' |
| Exception Location: | /Users/wanfengxixi/mysite/blog/views.py in get_detail_page, line 43 |
| Python Executable: | /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 |
| Python Version: | 3.7.4 |
views:

blog/urls:

这个问题老师在前面同学那回答过了,你肯定跟我一样删除了之前的文章
这里是不是写错了 应该是 Blog.Article.objects.all()