Opened 5 years ago

Closed 5 years ago

#16954 closed Uncategorized (invalid)

https://docs.djangoproject.com/en/dev/intro/tutorial03/

Reported by: tcornish@… 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

I was rolling along with the tutorial when it suddenly broke. I had to change my url.py(s) from

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

to

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

to get things working again -- typo?

Change History (1)

comment:1 Changed 5 years ago by Alex Gaynor

Resolution: invalid
Status: newclosed

You're reading the documentation for the development version of Django, but using an older DJango (probably 1.3), please follow the documentation for the version of Django you're using.

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