It's only by looking at the error message that you can guess it's
expecting seconds.
[1] https://docs.djangoproject.com/en/dev/topics/signing/#verifying-
timestamped-values
[2]
https://github.com/django/django/blob/master/django/core/signing.py#L185
--
Ticket URL: <https://code.djangoproject.com/ticket/20687>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:1>
* cc: tomas.ehrlich@… (added)
* has_patch: 0 => 1
Comment:
I was looking for it this morning. Added documentation for signing data
structures too (wasn't mentioned, it uses TimestampSigner neither).
https://github.com/django/django/pull/1323
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:2>
* needs_better_patch: 0 => 1
Comment:
Left a couple comments on the PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:3>
* needs_better_patch: 1 => 0
Comment:
Updated PR https://github.com/django/django/pull/1323#commits-pushed-
63810d3
Thanks for review
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:4>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"c5bc98d7e1779263dc870843cab296f052e9a318"]:
{{{
#!CommitTicketReference repository=""
revision="c5bc98d7e1779263dc870843cab296f052e9a318"
Fixed #20687 -- Added documentation for django.core.signing API.
Thanks Baptiste Mispelon for the suggestion.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:5>
Comment (by Tim Graham <timograham@…>):
In [changeset:"2f9e5483f6e65bcc0364833517fdae26f1b8c885"]:
{{{
#!CommitTicketReference repository=""
revision="2f9e5483f6e65bcc0364833517fdae26f1b8c885"
[1.6.x] Fixed #20687 -- Added documentation for django.core.signing API.
Thanks Baptiste Mispelon for the suggestion.
Backport of c5bc98d7e1 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"6151fdf930c9a513597e94fe8e8aee5e88c69ca1"]:
{{{
#!CommitTicketReference repository=""
revision="6151fdf930c9a513597e94fe8e8aee5e88c69ca1"
[1.5.x] Fixed #20687 -- Added documentation for django.core.signing API.
Thanks Baptiste Mispelon for the suggestion.
Backport of c5bc98d7e1 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20687#comment:7>