Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19283 closed Bug (fixed)

Django CBV examples have broken import.

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 (8)

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)

comment:7 by Aymeric Augustin <aymeric.augustin@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 00ff69a827b38054afe557fc7d0a589b270ed871:

Fixed #19283 -- Fixed typo in imports in CBV docs.

comment:8 by Aymeric Augustin <aymeric.augustin@…>, 12 years ago

In 5e9af1600d74cbbfef5ad13fdf377dad73e0dd86:

[1.5.x] Fixed #19283 -- Fixed typo in imports in CBV docs.

Backport of 00ff69a from master.

Note: See TracTickets for help on using tickets.
Back to Top