#21560 closed Bug (fixed)
missing 'slug' field in example code
Reported by: | Owned by: | merb | |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/1.6/topics/forms/modelforms/#overriding-the-default-fields
Consider the 2nd to last code quotation (before the lengthy 'Note') in this section. Both the text and the code block refer to and imply a 'slug' field in the fields list of the Meta class. The last code block, however does not omit it.
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Bug |
It was an accidental omission.
comment:3 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 11 years ago
Has patch: | set |
---|
I updated the documentation and added a pull request: https://github.com/django/django/pull/2058
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Or, maybe it will work the way it is written. I'm confused.