Hi,
I have a model whose absolute url is deifned:
def get_absolute_url(self): return '/invitation/%i/' % self.id
and it works fine on python prompt:
>>> invitationcodes.get_list
()[0].get_absolute_url()
'/invitation/1/'
But when I open the objects "change" page in admin, and try to follow "View on Site" link, it takes me to some
http://localhost:6680/r/10/1/, which 404s.
Is the trunk not stable, and should I be working with some older version?
Please help me out, I am working against some strict deadline :-)
--
Amit Upadhyay
Blog: http://www.rootshell.be/~upadhyay
+91-9867-359-701
- admin reports wrong absolute url Amit Upadhyay
- Re: admin reports wrong absolute url Jason Davies
- Re: admin reports wrong absolute url Amit Upadhyay
- Re: admin reports wrong absolute url Ian Holsman
- Re: admin reports wrong absolute url Amit Upadhyay
- Re: admin reports wrong absolute url Adrian Holovaty
