Code

Opened 3 years ago

Closed 3 years ago

#17505 closed Uncategorized (invalid)

import typo

Reported by: anonymous 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

On https://docs.djangoproject.com/en/dev/intro/tutorial04/

Section:

Change it like so:
from django.conf.urls import patterns, include, url

"from django.conf.urls" should be "from django.conf.urls.defaults"

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by carljm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

You are using the development documentation with Django 1.3. Use the Django 1.3 docs instead. In the development version of Django, "django.conf.urls" is correct.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.