mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +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:
@@ -276,7 +276,7 @@ it into the inheritance hierarchy *after* the defaults::
|
||||
|
||||
.. _manager-types:
|
||||
|
||||
Controlling Automatic Manager Types
|
||||
Controlling automatic Manager types
|
||||
===================================
|
||||
|
||||
This document has already mentioned a couple of places where Django creates a
|
||||
@@ -326,7 +326,7 @@ it will use :class:`django.db.models.Manager`.
|
||||
so that existing code will :doc:`continue to work </misc/api-stability>` in
|
||||
future Django versions.
|
||||
|
||||
Writing Correct Managers For Use In Automatic Manager Instances
|
||||
Writing correct Managers for use in automatic Manager instances
|
||||
---------------------------------------------------------------
|
||||
|
||||
As already suggested by the `django.contrib.gis` example, above, the
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user