Fixed typo in 1.8 release notes.
This commit is contained in:
parent
a8e2ec0e82
commit
8f63849df2
|
@ -245,7 +245,7 @@ written (and is better written) as::
|
|||
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
|
||||
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::
|
||||
|
||||
from django.conf.urls import url
|
||||
|
|
Loading…
Reference in New Issue