1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.10.x] Normalized spelling of ETag.

Backport of ef021412d5 from master
This commit is contained in:
Tim Graham
2016-09-09 11:00:21 -04:00
parent 1f3c66fe9f
commit 244c4c06f9
8 changed files with 7 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ order, as the view function they are helping to wrap. The function passed
``last_modified_func`` should return a standard datetime value specifying the
last time the resource was modified, or ``None`` if the resource doesn't
exist. The function passed to the ``etag`` decorator should return a string
representing the `Etag`_ for the resource, or ``None`` if it doesn't exist.
representing the `ETag`_ for the resource, or ``None`` if it doesn't exist.
Using this feature usefully is probably best explained with an example.
Suppose you have this pair of models, representing a simple blog system::