Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#17827 closed Uncategorized (duplicate)

code example seems not to be correct

Reported by: bernhardkircher@… Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

the last code example on page https://docs.djangoproject.com/en/dev/intro/tutorial03/:
seems to be wrong:

from django.conf.urls import patterns, include, url

should be:

from django.conf.urls.defaults import patterns, include, url

Change History (2)

comment:1 by Karen Tracey, 12 years ago

Resolution: duplicate
Status: newclosed

comment:2 by Aymeric Augustin, 12 years ago

You're looking at the docs for the development version of the docs, but using version 1.3 of the code.

You can switch to the 1.3 version of the docs with the version chooser at the bottom-right of the website.

Duplicate of a dozen tickets.

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