﻿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
3540	permalink documentation is incomplete and contains errors	Thomas Steinacher <tom@…>	Jacob	"In the [http://www.djangoproject.com/documentation/model_api/ permalink documentation] you can find the following example:
{{{
def get_absolute_url(self):
    return ('people.views.details', str(self.id))
get_absolute_url = permalink(get_absolute_url)
}}}
However, this works only for ids < 10, because the second argument needs to be a tuple or a list. This would be correct:
{{{
    return ('people.views.details', (str(self.id),))
}}}

Also, the documentation is incomplete. It is not mentioned that permalink accepts named parameters (this is described e.g. on [http://collingrady.com/2007/02/15/django-permalink/])"		closed	Documentation	dev		fixed		larlet@…	Ready for checkin	0	0	0	0	0	0
