This is how i am now doing it i call the template:
{% instance block %}
{% include_feed "http://localhost:8080/feeds/news/"; 5 feeds/
test.html %}
{% endinstance %}
my code is:
@register.tag(name="instance")
def make_instance(parser, token):
try:
tag_name, arg = token.
This is a newbie question!
If this question has already been posted, kindly point me to the
correct thread!
I've written a few inclusion_tags in django so far and like the way it
works. However I would like to make things more dynamic because i want
the same HTML markup and classes with a differ
2 matches
Mail list logo