using proto-coltrane code from _Practical Django Projects_, i get the same error on trunk/apache/mod_python. i assume something around contrib.sites is misconfigured, but it could also be bad urls.py statements. any advice anyone?
On Oct 24, 2:15 pm, Adi Jörg Sieker <[EMAIL PROTECTED]> wrote: > 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 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?hl=en -~----------~----~----~----~------~----~------~--~---