#16513 closed Cleanup/optimization (fixed)
import missing in code sample?
| Reported by: | anonymous | Owned by: | teraom |
|---|---|---|---|
| Component: | Documentation | Version: | 1.3 |
| Severity: | Normal | Keywords: | forms, import |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Code samples at https://docs.djangoproject.com/en/dev/topics/forms/modelforms/ look like we need to import forms from somewhere. I'm getting "name forms is not defined". Maybe a missing import in the code samples?
Attachments (1)
Change History (8)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Cleanup/optimization |
comment:3 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 14 years ago
| Attachment: | modelforms-example-16513.diff added |
|---|
comment:4 by , 14 years ago
| Has patch: | set |
|---|
comment:5 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Refining the exact problem -- most of the examples are ok, because they're dealing with ModelForm; however, the full example uses forms.