#13551 closed (fixed)
Typo in ModelForms example
Reported by: | libber | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2-beta |
Severity: | Keywords: | typo | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
At the page: http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#overriding-the-default-field-types-or-widgets an example has "from django.forms import ModelForm, TextArea" it should instead be "import Textarea" as it used below in the example
Note:
See TracTickets
for help on using tickets.
(In [13269]) Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.