Opened 11 years ago
Closed 11 years ago
#21847 closed Uncategorized (fixed)
Missing Import (Docs)
Reported by: | anonymous | Owned by: | knitatoms |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Contact Form is used in the view but it wasn't imported.
https://docs.djangoproject.com/en/1.6/topics/forms/#using-a-form-in-a-view
Thank you.
Change History (3)
comment:1 by , 11 years ago
Component: | Forms → Documentation |
---|---|
Easy pickings: | set |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Agreed - I've submitted a pull request on GitHub: https://github.com/django/django/pull/2206
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Hi,
I'll mark this as
accepted
because it might be confusing if you arrive to that section without having read the previous paragraph.The problem here is that
ContactForm
doesn't live in a particular module: it's just an example form from the section just above.Without adding an import statement, maybe it would be enough to just mention that
ContactForm
was defined in the previous section.What do you think?