1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00
django/docs/topics/http
Aymeric Augustin cd17a24083 Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.

Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.

Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
2012-10-27 23:15:45 +02:00
..
_images
decorators.txt
file-uploads.txt Fixed #18840 - Added a mentioned of the upload_to parameter to the ModelForm example in file uploads. 2012-09-01 15:38:44 -04:00
generic-views.txt Fixed #18451 -- Vastly improved class based view documentation. 2012-06-11 10:40:23 +02:00
index.txt
middleware.txt Fixed #7581 -- Added streaming responses. 2012-10-20 20:05:11 +02:00
sessions.txt Added optional kwargs to get_expiry_age/date. 2012-10-27 23:15:45 +02:00
shortcuts.txt Fixed #18934 - Removed versionadded/changed annotations for Django 1.3 2012-09-20 19:06:55 -04:00
urls.txt More URL reversion docs typo fixes. 2012-10-11 15:40:38 -03:00
views.txt Fixed #18807 -- Made 404.html and 500.html optional 2012-09-30 23:16:19 +02:00