This presents a convention that allows models to be displayed in certain ways
For instance, for a list of blog entries: diario/entry_archive_day.html ... {% represent entry as "summary.html" %}
diario/entry_archive.html ... {% represent entry as "summary.html" %}
diario/entry_detail.html ... {% represent entry as "detail.html" %}
Each template is placed in representations/diario.entry/
The power of this convention is revealed when you do something like a search engine that may be a list of different content types:
{% for object in search_result_list %}
{% represent object as "search_result.html" %}
{% endfor %}
Commercial Use
Modify
Distribute
Place Warranty
Use Patent Claims
Sub-License
Hold Liable
Distribute Original
Disclose Source
Include Copyright
State Changes
Include License
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.