﻿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
27688	Django message framework add_message() should prefer ducktyping over isinstance	Raffaele Salmaso	Raffaele Salmaso	"Original ticket https://code.djangoproject.com/ticket/21412

django.contrib.messages.add_message check for an HttpRequest object instance, and cannot work as-is with django-rest-framework request wrapper, requiring to use the wrapped object directly
{{{
messages.add_message(request._request, ...)
}}}

add_message() should not use `isinstance` check."	Bug	closed	contrib.messages	dev	Normal	fixed	messages	raffaele.salmaso+djangoproject@…	Ready for checkin	1	0	0	0	0	0
