Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- {% extends 'base.html' %}
-
- {% block content %}
- {% for post in posts %}
- <div class="post">
- <p class="date">created: {{ post.created_date|date:'d-m-Y' }}</p>
- <h1><a href="{% url 'post_detail' pk=post.pk %}">{{ post.title }}</a></h1>
- <p>{{ post.text|truncatechars:200 }}</p>
- </div>
- {% endfor %}
- {% endblock %}
|