Using an inlude tag on my homepage to get a list of current polls
requires a template. This template lists the polls and provides a link
for the details. I need to give an url including the modulename:
(a href="/polls/5")

I don't like this approach so I want to ask if it is possible to use
an object variable to get the right prefix?

Futhermore, I also want to keep the tag templates within the
templatetags directory. I tried this using
register.inclusion_tag('/dirto/template.html')(...) but that doesn't
work out. Is it possible (without the use of settings.py)?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to