django-cloudinary-storage
is often used, but only django 2.x series is supported.django-cloudinary-storage
blog.html
<a href="{% url 'blog:post_detail' post.id %}">
<img class="card-img-top" src="{{ post.image.url }}" alt="{{ post.title }}">
</a>
blog.html
<a href="{% url 'blog:post_detail' post.id %}">
<img class="card-img-top" src="{{ test_model_instance.image.url }}" alt="{{ test_model_instance.image.name }}">
</a>
Recommended Posts