#20649: Add an easier way to override the blank option for CharFields with choices -----------------------------+-------------------------------------- Reporter: brillgen | Owner: alexcouper Type: New feature | Status: assigned Component: Forms | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------+--------------------------------------
Comment (by alexcouper): I have submitted a PR to attempt to address this problem, using my understanding of what timo suggested. https://github.com/django/django/pull/1315 I have a slight concern that we are breaking MVC somewhat, in that we're defining presentation properties on the model as a matter of convenience. Although having said that, we already do that somewhat with choices, so perhaps this is seen as OK. As this is my first contribution to Django, I thought it would be a good idea to get feedback at this point before making any documentation changes. -- Ticket URL: <https://code.djangoproject.com/ticket/20649#comment:8> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.4ed1318f2b27409a312e02e11d001993%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.