Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [13269]) Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.

comment:2 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.