Hi,
I just noticed that the "View on site" link on the Admin change entry
page redirects to localhost/<whatever_url>. The dev server is running on
localhost:8000 though.
The model being used is the Entry model from coltrane_blog[1] which has
a get_absolut_url method that looks like:
from django.db import models
def get_absolute_url(self):
return ('coltrane_entry_detail', (),
{ 'year': self.pub_date.strftime('%Y'),
'month': self.pub_date.strftime('%b').lower(),
'day': self.pub_date.strftime('%d'),
'slug': self.slug })
get_absolute_url = models.permalink(get_absolute_url)
Is this a config issue on my side?
adi
[1] http://code.google.com/p/coltrane-blog/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---