장고 no such table: blog_post
조회수 606회
blog/templates/blog/post_list.html
{% for post in posts %}
<div>
<p>published: {{ post.published_date }}</p>
<h1><a href="">{{ post.title }}</a></h1>
<p>{{ post.text|linebreaksbr }}</p>
</div>
{% endfor %}
이걸 로컬호스트로 열어서 보면 잘 나오는데 pythonanywhere에선
OperationalError at /
no such table: blog_post로 에러가 뜨면서
{% for post in posts %}
이 부분이 Error during template rendering라는데 제가 뭐 실수한거라도 있을까요? 도와주세요 ㅠ
댓글 입력