#24227: isinstance checks on ManyToManyField should be replaced with
field.many_to_many
--------------------------------------+--------------------
     Reporter:  coldmind              |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Uncategorized         |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 `\bisinstance\b\([a-zA-Z._-]*.\s[a-zA-Z.]*?\bManyToManyField\b` gives me
 15 occurrences (I will check manually too).

 As a followup to https://code.djangoproject.com/ticket/24104, it might be
 good to check and replace (where we can do this) to look more cleaner and
 allow custom m2m-fields to behave in the same way like original
 `ManyToManyField` do.

--
Ticket URL: <https://code.djangoproject.com/ticket/24227>
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/051.856cd200d1ff6f2f5ef98645a630ff5c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to