Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django template truncate html

<p>Rendered text with {{ pub_date|date:"c" }}</p>
{% comment "Optional note" %}
    <p>Commented out text with {{ create_date|date:"c" }}</p>
{% endcomment %}
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #template #truncate #html
ADD COMMENT
Topic
Name
2+7 =