#32294: related_name='+' doesn't work for ManyToMany fields
-------------------------------------+-------------------------------------
               Reporter:  Aleksey    |          Owner:  nobody
  Ruban                              |
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  3.1
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Django raises an error during creation a db migration if two models with
 the same refer to the same model in m2m field. related_name='+' or 'foo+'
 don't impact anything.
 In some my project there are 50 apps and almost each one has a model with
 the same name. So I have to come up with a related name and write it in
 for each m2m field.
 Just try to make a migration for my test project
 https://github.com/rafick1983/django_related_name_bug

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32294>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.872f7657b4b96b3a05f3c629e0d11c6f%40djangoproject.com.

Reply via email to