#13769: ModelForm: override default field attributes -------------------------------------+------------------------------------- Reporter: darkrho | Owner: asenchi Type: New feature | Status: closed Component: Forms | Version: master Severity: Normal | Resolution: wontfix Keywords: modelform | Triage Stage: Design fields_attrs | decision needed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by jacob):
* status: new => closed * resolution: => wontfix Comment: There's a limit of what attributes can do; at some point you're going to have to override `__init__`. Widgets are common and annoying enough to have a special-case, but for everything else we should encourage people to override `__init__` rather than adding hooks like this. -- Ticket URL: <https://code.djangoproject.com/ticket/13769#comment:10> 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. For more options, visit https://groups.google.com/groups/opt_out.