I have created a custom inclusion template tag that accepts a single Update
model object.
Template tag:
@register.inclu
Okay. Just figured this out after posting the question:
Instead of using {{ STATIC_URL }}
in my inclusion template, I use the get_static_prefix
tag from the static
template tags:
update_line.html:
{% load static %}
{{ update }}
I believe the correct way to do this now (django 1.5+) is:
update_line.html:
{% load staticfiles %}
{{ update }}