|
|
@ -13,14 +13,15 @@ import uuid |
|
|
|
import hashlib |
|
|
|
import hashlib |
|
|
|
from base64 import b64encode, b64decode |
|
|
|
from base64 import b64encode, b64decode |
|
|
|
from datetime import datetime |
|
|
|
from datetime import datetime |
|
|
|
|
|
|
|
|
|
|
|
from werkzeug.http import http_date, parse_date |
|
|
|
from werkzeug.http import http_date, parse_date |
|
|
|
from werkzeug.datastructures import CallbackDict |
|
|
|
from werkzeug.datastructures import CallbackDict |
|
|
|
|
|
|
|
from itsdangerous import URLSafeTimedSerializer, BadSignature |
|
|
|
|
|
|
|
|
|
|
|
from . import Markup, json |
|
|
|
from . import Markup, json |
|
|
|
from ._compat import iteritems, text_type |
|
|
|
from ._compat import iteritems, text_type |
|
|
|
from .helpers import total_seconds |
|
|
|
from .helpers import total_seconds |
|
|
|
|
|
|
|
|
|
|
|
from itsdangerous import URLSafeTimedSerializer, BadSignature |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SessionMixin(object): |
|
|
|
class SessionMixin(object): |
|
|
|
"""Expands a basic dictionary with an accessors that are expected |
|
|
|
"""Expands a basic dictionary with an accessors that are expected |
|
|
|