Hi I have single-project.html
site which is showing some basic information about a product. In addition there is a link to a site where the user who posted the project and the user who wants to buy it can chat. In this second site I would like to add the project.image
which is shown in single-project.html
. Lastly the url 'conversation' project.owner.user.username
leads to a url in a different app.
How can I handle that? Thanks
single-project.html
<div class="col-lg-8 col-md-8 col-sm-12 text-center mt-3">
<img{{project.image.url}}"/>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 mt-3">
<h4 class="mt-3">Product-Information</h4>
<div class="singleProject__info">
{{project.describtion}}
<hr>
<div class="project__tags">
<span class="tag tag--pill tag--main">
<small>{{project.price}} €</small>
</span>
<span class="tag tag--pill tag--main">
<small>{{project.location}}</small>
</span>
</div>
<div>
<a href="{% url 'conversation' project.owner.user.username %}">Send message</a>
</div>
</div>