Hi Alan,

On 8/27/06, Alan Green <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm having a problem with the Admin "View on site" button. According
[snip]
> My model objects have a get_absolute_url() method, and the View on
> site button appears as expected, however, the "View on site" button
> links to strange relative urls like "../../../r/10003".
[snip]

While not a bug, this could certainly be documented better.

Just add the following to your root urlconf and things will work as expected:
( r'^r/',     include( 'django.conf.urls.shortcut' ) ),

Hope that helps,
Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to