Fixed typo in 1.8 release notes.

This commit is contained in:
Tim Graham 2014-04-03 09:05:31 -04:00
parent a8e2ec0e82
commit 8f63849df2
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ written (and is better written) as::
Thus ``patterns()`` serves little purpose and is a burden when teaching new users Thus ``patterns()`` serves little purpose and is a burden when teaching new users
(answering the newbie's question "why do I need this empty string as the first (answering the newbie's question "why do I need this empty string as the first
argument to ``patterns()``?"). For these reasons, we are deprecating it. argument to ``patterns()``?"). For these reasons, we are deprecating it.
Updating your code is as simple as ensuring that ``urlpatterns`` is a string of Updating your code is as simple as ensuring that ``urlpatterns`` is a list of
:func:`django.conf.urls.url` instances. For example:: :func:`django.conf.urls.url` instances. For example::
from django.conf.urls import url from django.conf.urls import url