﻿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
12080	Decorator used, without the decorator syntax	v21	nobody	"under http://docs.djangoproject.com/en/dev/ref/models/instances/#django.db.models.permalink , there is the following code:

{{{
from django.db.models import permalink

def get_absolute_url(self):
    return ('people_view', [str(self.id)])
get_absolute_url = permalink(get_absolute_url)

}}}


which should surely be:

{{{
from django.db import models

@models.permalink
def get_absolute_url(self):
    return ('people_view', [str(self.id)])

}}}

(I also changed the import statement to be more consistent with the previous code snippet.)"		closed	Documentation	1.1		invalid			Unreviewed	0	0	0	0	0	0
