﻿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
1598	[magic-removal] References to get_object() instead of get()	gsakkis@…	Adrian Holovaty	"I hit an exception using the Admin interface on the magic-removal branch (""'Manager' object has no attribute 'get_object'""), but the bug lies on the core framework. Grepping through the source, there are three references to 'get_object' that should be changed to 'get':

/home/george/magic-removal/django/db/models/fields/related.py:        klass._default_manager.get_object(pk=field_data)
/home/george/magic-removal/django/db/models/manipulators.py:                _ = self.opts.one_to_one_field.rel.to.get_model_module().get_object(**lookup_kwargs)
/home/george/magic-removal/django/db/models/base.py:            obj = self._default_manager.get_object(order_by=('_order',),

Cheers,
George"	defect	closed	Core (Other)	magic-removal	normal	fixed			Unreviewed	0	0	0	0	0	0
