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:
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user