#25560: Empty string related name should be invalid
-----------------------------------------+------------------------
               Reporter:  charettes      |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  Uncategorized  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Accepted       |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 The actual model field check is
 
[https://github.com/django/django/blob/de99f558d806a2a1b30072ec95bc44d412d80dab/django/db/models/fields/related.py#L121-L147
 skipped] if the `related_name` is an empty string when a warning should be
 raised since it's an invalid Python identifier.

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

Reply via email to