#31771: Add warning if model field has trailing comma.
-------------------------------------+-------------------------------------
Reporter: Jonas Haag | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Core (System | Version: master
checks) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jonas Haag):
What do you mean by “supported use case”? Obviously defining tuples on
model classes generally should not raise a warning, but how about the
specific case of tuple of size 1 containing a model field instance?
--
Ticket URL: <https://code.djangoproject.com/ticket/31771#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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.4eabe18fd5bcdaf533c556977f31425c%40djangoproject.com.