1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[1.2.X] Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.

Backport of r15135 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham
2011-01-03 13:30:12 +00:00
parent e501f50237
commit 12d5c09fdd
7 changed files with 12 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
===============
View Decorators
View decorators
===============
.. currentmodule:: django.views.decorators.http
@@ -7,7 +7,7 @@ View Decorators
Django provides several decorators that can be applied to views to support
various HTTP features.
Allowed HTTP Methods
Allowed HTTP methods
====================
.. function:: require_http_methods(request_method_list)
@@ -47,7 +47,7 @@ headers; see
.. currentmodule:: django.views.decorators.http
GZip Compression
GZip compression
================
.. function:: gzip_page()
@@ -58,7 +58,7 @@ storage on the ``Accept-Encoding`` header.
.. currentmodule:: django.views.decorators.vary
Vary Headers
Vary headers
============
The ``Vary`` header defines which request headers a cache mechanism should take

View File

@@ -466,7 +466,7 @@ included URLconf, as expected.
.. _topics-http-defining-url-namespaces:
Defining URL Namespaces
Defining URL namespaces
-----------------------
When you need to deploy multiple instances of a single application, it can be

View File

@@ -1,5 +1,5 @@
=============
Writing Views
Writing views
=============
A view function, or *view* for short, is simply a Python function that takes a
@@ -52,7 +52,7 @@ Let's step through this code one line at a time:
``America/Chicago``. This probably isn't where you live, so you might want
to change it in your settings file.
Mapping URLs to Views
Mapping URLs to views
=====================
So, to recap, this view function returns an HTML page that includes the current