Update requirements..txt

made the necessary changes
with_posts
surya 2024-07-11 14:30:01 +05:30
parent 7edf61055b
commit 7523626b58
2 changed files with 10 additions and 2 deletions

View File

@ -2,4 +2,12 @@ Django==5.0.2
django-bootstrap4==22.3
django-braces==1.15.0
django-cors-headers==4.3.1
django-crispy-forms==2.1
django-crispy-forms==2.1
Markdown==3.4.1
MarkupSafe==2.1.1
crispy==0.7.3
crispy-bootstrap4==2023.1
bootstrap4==0.1.0
cachetools==5.2.0
certifi==2022.9.24
cffi==1.15.1

View File

@ -17,7 +17,7 @@
<!-- Posts will be dynamically added here -->
<div class="card mb-3">
<div class="card-body">
<h5 class="card-title">{{ post.author.username }} <a href="{% url 'NamedProfile' post.author.id %}" class="link text-secondary lead">@{{ post.author.id }}</a></h5>
<h5 class="card-title">{{ post.title }} <a href="#" class="link text-secondary lead">@{{ post.author }}</a></h5>
<p class="card-text">{{ post.content | markdown | safe }}</p>
</div>
</div>