On Dec 5, 6:04 pm, PFL <[EMAIL PROTECTED]> wrote:
> The source generated by the templates is indeed correct; it looks
> like:
>
> <a href="#1">Section1</a>
>
> However,  when I click on the link, Django(?) tries to resolve it as:
>
> http://localhost:8000/doc/#1 -- not ---http://localhost:8000/doc#1
>
> So -- how do I get local links working with Django?

Django isn't doing anything. Have a look in the output from the
development server - I very much doubt that the click results in any
request being sent.

The address of the page is indeed /doc/, not /doc, so it's correct
that the local anchor would be /doc/#1.
-
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to