Re: include tag and urls

2006-10-29 Thread Rob Slotboom
> Can you give some more details, please? I cannot puzzle out what you are > currently doing here. Hello Malcolm, It's about in the template. Here come the details... ### mysite/polls/templatetags/poll_tags.py from django import template from mysite.polls.models import Poll register = templat

Re: include tag and urls

2006-10-27 Thread Malcolm Tredinnick
On Fri, 2006-10-27 at 08:50 -0700, Rob Slotboom wrote: > 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

include tag and urls

2006-10-27 Thread Rob Slotboom
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 obj