diff options
| author | Timo Graham <timograham@gmail.com> | 2010-11-28 17:50:17 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2010-11-28 17:50:17 +0000 |
| commit | 7b4c0a73e401ab8154f26978e2a10a070684e5b5 (patch) | |
| tree | 0d0cc15bd57077bf640e603e390dd3f9b2ba553f /docs | |
| parent | 0a0d4884f6747d97293b913b48e24ca79463033c (diff) | |
[1.2.X] Fixed #14790 - Fix reST in 1.0 porting guide - thanks adamv.
Backport of r14735 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.0-porting-guide.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/releases/1.0-porting-guide.txt b/docs/releases/1.0-porting-guide.txt index 95b9efe255..e12b34e6e4 100644 --- a/docs/releases/1.0-porting-guide.txt +++ b/docs/releases/1.0-porting-guide.txt @@ -373,7 +373,7 @@ Signals ``sender=None`` * Make any custom signals you've declared into instances of - :class:`django.dispatch.Signal`` instead of anonymous objects. + :class:`django.dispatch.Signal` instead of anonymous objects. Here's quick summary of the code changes you'll need to make: @@ -626,8 +626,8 @@ Accessing ``HTTPResponse`` headers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``django.http.HttpResponse.headers`` has been renamed to ``_headers`` and -:class:`HttpResponse`` now supports containment checking directly. So use -``if header in response:`` instead of ``if header in response.headers:``. +:class:`~django.http.HttpResponse` now supports containment checking directly. +So use ``if header in response:`` instead of ``if header in response.headers:``. Generic relations ----------------- @@ -661,7 +661,7 @@ Management commands Running management commands from your code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -:mod:`django.core.management`` has been greatly refactored. +:mod:`django.core.management` has been greatly refactored. Calls to management services in your code now need to use ``call_command``. For example, if you have some test code that calls flush and |
