MCPcopy
hub / github.com/django/django / timestamp

Method timestamp

django/core/signing.py:268–269  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

266
267class TimestampSigner(Signer):
268 def timestamp(self):
269 return b62_encode(int(time.time()))
270
271 def sign(self, value):
272 value = "%s%s%s" % (value, self.sep, self.timestamp())

Callers 7

signMethod · 0.95
indexFunction · 0.80
sitemapFunction · 0.80
__call__Method · 0.80
UMethod · 0.80
parse_http_dateFunction · 0.80
_pre_process_requestFunction · 0.80

Calls 2

b62_encodeFunction · 0.85
timeMethod · 0.80

Tested by

no test coverage detected