Skip to content

Instantly share code, notes, and snippets.

@emilepetrone
Created November 15, 2010 17:44
Show Gist options
  • Save emilepetrone/700670 to your computer and use it in GitHub Desktop.
Save emilepetrone/700670 to your computer and use it in GitHub Desktop.
{% for want in wants %}
{% if want.body_html %}
<div id="want">
{{ want.body_html|truncatewords_html:"50"|safe }}
{% endif %}
<a href="{% url individual_want want.id %}">Read the full request</a>
<p>Tags: {% for tag in want.tags %}{{ tag }}{% endfor %}</p>
{{ want.mentee}} - {{ want.pub_date|date:"F j, Y" }} -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment