On Tuesday 13 June 2006 18:46, ZebZiggle wrote:
> Sorry if this a really silly question everyone, but how do I jump to
> named anchor with the URL mapping of Django?
>
> I have a template that uses <a name='foo'/> targets and want to go to
> a specific target from another page /mypage#foo

Yep, you need to spell it:

/mypage/#foo

Otherwise the CommonMiddleware will do a redirect to add the trailing 
slash that will strip the fragment.

Luke

-- 
I went to the Missing Persons Bureau. No one was there.

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

--~--~---------~--~----~------------~-------~--~----~
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