﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3752	permalink documentation invalid	Collin Grady <cgrady@…>	Jacob	"In http://www.djangoproject.com/documentation/model_api/#the-permalink-decorator it lists permalink usage as:

{{{
from django.db.models import permalink

def get_absolute_url(self):
    return ('people.views.details', str(self.id))
get_absolute_url = permalink(get_absolute_url)
}}}

But that is invalid - it will try to split the string up using each character as a positional arg. It should be:

{{{
from django.db.models import permalink

def get_absolute_url(self):
    return ('people.views.details', (str(self.id),))
get_absolute_url = permalink(get_absolute_url)
}}}"		closed	Documentation	dev		duplicate			Unreviewed	0	0	0	0	0	0
