Opened 12 years ago
Last modified 12 years ago
#19283 closed Bug
Django CBV examples have broken import. — at Version 6
Reported by: | Daniel Greenfeld | Owned by: | Daniel Greenfeld |
---|---|---|---|
Component: | Documentation | Version: | dev |
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 (last modified by )
In several places it is from django import models
.
It is supposed to be from django.db import models
.
Change History (6)
comment:1 by , 12 years ago
Summary: | Django CBV editing examples have broken import. → Django CBV examples have broken import. |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Bug |
Version: | 1.4 → master |
For sure they're there
element:docs (master)$ ack -a 'from django import models' ./ref/class-based-views/generic-editing.txt 19: from django import models ./topics/class-based-views/generic-editing.txt 93: from django import models 163: from django import models element:docs (master)$
follow-up: 5 comment:4 by , 12 years ago
Oh ok, i was grepping for "djangoimport" actually. Can the description of the bug be updated ?
comment:5 by , 12 years ago
Replying to ssidorenko:
Oh ok, i was grepping for "djangoimport" actually. Can the description of the bug be updated ?
I lack the ability to edit the ticket now that it's been accepted. Perhaps a core developer has those rights?
comment:6 by , 12 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I cannot find the problem you are describing, can you post a link or a path where it can be found ?