Re: permalink problem

2010-07-20 Thread Nuno Maltez
Maybe you can get a better description / traceback of the error from the shell. Something like python manage.py shell >> from myapp.models import Post >> p = Post.objects.all()[0] >> p.get_absolute_url() hth, Nuno On Tue, Jul 20, 2010 at 4:46 AM, vcarney wrote: > I'm having a problem getting a

permalink problem

2010-07-19 Thread vcarney
I'm having a problem getting a permalink to render an absolute url. Here is my template code: {{ post.title }} In models.py I have a Post class with: @models.permalink def get_absolute_url(self): return ('vblog_detail_month_numeric', (), { 'year': self.publish.year,