﻿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
16373	Django admin templates trigger a DeprecationWarning	Paul Winkler	nobody	"During test runs of my app with Django 1.3 installed, I get this:

""DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework.""

I've traced this to a page which uses a template which extends admin/base.html.
I'm guessing it comes from these lines:

{{{
        {% if messages %}
        <ul class=""messagelist"">{% for message in messages %}
          <li{% if message.tags %} class=""{{ message.tags }}""{% endif %}>{{ message }}</li>

}}}

It's mildly annoying that I get the warning even though AFAICT my code doesn't use that API at all - the warning sent me on a wild goose chase.

I'm assuming we can't just remove or update that part of base.html without breaking third-party code that still uses the deprecated API. Is there any way we could trigger the warning only when you actually *use* the deprecated API?
"	Cleanup/optimization	closed	contrib.admin	1.3	Normal	invalid			Unreviewed	0	0	0	0	1	0
