#15968: readonly_fields ignore form field label -------------------------------------+------------------------------------- Reporter: gabomdq@… | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Documentation Milestone: | Severity: Normal Version: 1.3 | Keywords: Resolution: | Has patch: 0 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 0 | Easy pickings: 0 Patch needs improvement: 0 | -------------------------------------+------------------------------------- Changes (by julien):
* type: Bug => Cleanup/optimization Comment: Just to synthesise, there is no bug as this is the normal behaviour, and the feature you were after already exists. The documentation about read- only fields is a bit succinct and it could be improved in a few ways, at least by emphasising that form fields are excluded from the `ModelForm` if declared as readon-only, and by providing a tip on modifying the label of a read-only "field" if that "field" is a callable. -- Ticket URL: <http://code.djangoproject.com/ticket/15968#comment:7> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.