﻿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
28978	"m2m_changed signal's ""model"" argument is acting wierd"	Dev Aggarwal	nobody	"I hace a  signal for m2m changed defined like this 


{{{
@receiver(signals.m2m_changed, sender=models.Exam.questions.through)
def exam_questions_change(sender, instance, action, reverse, model, pk_set, using, **kwargs):
    print(repr(model))
    print(model.___class___)
    print(isinstance(model, models.Question))
}}}

And it gives me the following output
{{{
<class 'App.models.Question'>
<class 'django.db.models.base.ModelBase'>
False
}}}


What is going on here?"	Uncategorized	closed	Database layer (models, ORM)	2.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
