In the process of entering the detail_view, the product and description are intended, but only the date comes out. Please help, masters ㅠ<
{% extends 'mysite/base.html' %}
{% {% block content %}
<div class="post">
<div class="date">
{{ {{ post.pub_date }}
</div>
<h1>{{ post.product }}</h1>
<p>{{ post.description|linebreaksbr }}</p>
</div>
{% {% endblock %}
Try watching the source in html
Where Product and Description Should Be
<h1></h1>
<p></p>
If it comes out like this, the value of the product and description of the post object is not included.
© 2024 OneMinuteCode. All rights reserved.