#27688: Django message framework add_message() should prefer ducktyping over
isinstance
----------------------------------+--------------------------------------
     Reporter:  Raffaele Salmaso  |                    Owner:  nobody
         Type:  Uncategorized     |                   Status:  new
    Component:  contrib.messages  |                  Version:  master
     Severity:  Normal            |               Resolution:
     Keywords:  messages          |             Triage Stage:  Unreviewed
    Has patch:  1                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Changes (by Raffaele Salmaso):

 * type:  Bug => Uncategorized
 * stage:  Accepted => Unreviewed


Comment:

 PR => https://github.com/django/django/pull/7794

 I've update original test to be sure that the
 'django.contrib.messages.middleware.MessageMiddleware' is not in
 settings.MIDDLEWARE,
 and added a custom request object

--
Ticket URL: <https://code.djangoproject.com/ticket/27688#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.32e66e8a1999891c425f553e0691b90b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to