The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Jacob Kaplan-Moss <ja...@jacobian.org>
Date: Thu, 6 Apr 2006 15:47:16 -0500
Local: Fri, Apr 7 2006 8:47 am
Subject: Re: Reverse URL lookup implementation
I just had another thought on this:
On Apr 6, 2006, at 3:24 PM, Adrian Holovaty wrote: > Ideally there'd be a template-tag interface to this. Something like: One thing we could do -- to make this even easier -- would be to grab > {% link 'path.to.month_view' 2005 'apr' %} data from an object passed into the {% link %} tag. So in your example urlconf:: (r'^people/(?P<state>\w\w)/(?P<name>\w+)/$', 'path.to.person_view'), If a Person object had ``state`` and ``name`` attributes, you could do:: {% link path.to.person_view person %} (where ``some_person`` is an object in the context) as a shortcut to:: {% link path.to.person_view state=person.state name=person.name %} That way if you set up your URLconfs in a logical manner -- I'd bet Jacob You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||