mirror of https://github.com/django/django.git
Refs #23919 -- Removed obsolete comment in signing.py
This commit is contained in:
parent
07f6ff09e4
commit
6686238cdc
|
@ -145,7 +145,6 @@ def loads(s, key=None, salt='django.core.signing', serializer=JSONSerializer, ma
|
||||||
class Signer:
|
class Signer:
|
||||||
|
|
||||||
def __init__(self, key=None, sep=':', salt=None):
|
def __init__(self, key=None, sep=':', salt=None):
|
||||||
# Use of native strings in all versions of Python
|
|
||||||
self.key = key or settings.SECRET_KEY
|
self.key = key or settings.SECRET_KEY
|
||||||
self.sep = sep
|
self.sep = sep
|
||||||
if _SEP_UNSAFE.match(self.sep):
|
if _SEP_UNSAFE.match(self.sep):
|
||||||
|
|
Loading…
Reference in New Issue