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

Normalized spelling of ETag.

This commit is contained in:
Tim Graham
2016-09-09 11:00:21 -04:00
parent ca9c69a968
commit ef021412d5
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::