﻿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
1674	"[patch] generic update_object does not handle model with pk named other than ""id"""	pmd@…	Jacob	"If a model uses its own primary key rather than default ""id"" the update_object method throws an exception:


{{{
Traceback (most recent call last):
File ""/data/home/pmd/django/magic-removal/django/core/handlers/base.py"" in get_response
  74. response = callback(request, *callback_args, **callback_kwargs)
File ""/data/home/pmd/django/magic-removal/django/views/generic/create_update.py"" in update_object
  104. manipulator = model.ChangeManipulator(object.id, follow=follow)

  AttributeError at /leo/npc/materials/16GALNS4PC1/edit/
  'Material' object has no attribute 'id'
}}}


"	defect	closed	Generic views	magic-removal	major	fixed	primary_key		Unreviewed	1	0	0	0	0	0
