Truncate questions on question list.
[prawokultury.git] / questions / templates / questions / question_list.html
index 88bd7c2..46e757c 100755 (executable)
@@ -48,7 +48,7 @@
 
 <ul class='questions'>
 {% for question in object_list %}
-    <li><a href="{{ question.get_absolute_url }}">{{ question }}</a>
+    <li><a href="{{ question.get_absolute_url }}">{{ question|truncatewords:50 }}</a>
     </li>
 {% endfor %}
 </ul>