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 Aymeric Augustin)

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 Daniel Greenfeld, 12 years ago

Summary: Django CBV editing examples have broken import.Django CBV examples have broken import.

comment:2 by Semion Sidorenko, 12 years ago

I cannot find the problem you are describing, can you post a link or a path where it can be found ?

comment:3 by Preston Holmes, 12 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedBug
Version: 1.4master

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)$ 

comment:4 by Semion Sidorenko, 12 years ago

Oh ok, i was grepping for "djangoimport" actually. Can the description of the bug be updated ?

in reply to:  4 comment:5 by Daniel Greenfeld, 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 Aymeric Augustin, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top