#17827 closed Uncategorized (duplicate)
code example seems not to be correct
Reported by: | 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 , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
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.