Browse Source

More doc updates

pull/271/merge
Armin Ronacher 14 years ago
parent
commit
10f8dc18b8
  1. 4
      flask/sessions.py

4
flask/sessions.py

@ -30,12 +30,14 @@ class SessionMixin(object):
del _get_permanent, _set_permanent
#: some session backends can tell you if a session is new, but that is
#: not necessarily guaranteed. Use with caution.
#: not necessarily guaranteed. Use with caution. The default mixin
#: implementation just hardcodes `False` in.
new = False
#: for some backends this will always be `True`, but some backends will
#: default this to false and detect changes in the dictionary for as
#: long as changes do not happen on mutable structures in the session.
#: The default mixin implementation just hardcodes `True` in.
modified = True

Loading…
Cancel
Save