﻿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
982	[patch] Comparing objects by negation should work	GomoX <gomo@…>	Adrian Holovaty	"Ok, here's the deal.

Before my patch:
{{{
>>> cuota.get_prestamo() != depositos.get_object(pk=2).get_prestamo()
True
>>> cuota.get_prestamo() == depositos.get_object(pk=2).get_prestamo()
True
}}}

That's not the expected behaviour, of course. The problem was that the base model wasn't being added the !__ne!__ method. I added this method and then added it to the base model. This trivial patch is to be applied on /trunk/django/core/meta/!__init!__.py, but I am working on an old version so the line numbers might not match, since there have been recent revisions to it. Adding the 3 lines manually shouldn't be a problem :)"	defect	closed	Database layer (models, ORM)		major	fixed		gomo@…	Unreviewed	1	0	0	0	0	0
