[django/django] 5ff2ff: Define the SessionStore inside __init__ instead of...

1 view
Skip to first unread message

GitHub

unread,
Jun 30, 2013, 3:43:05 AM6/30/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 5ff2ffa3304b2e49e17257575327f9fc08ce227e
https://github.com/django/django/commit/5ff2ffa3304b2e49e17257575327f9fc08ce227e
Author: Matt Robenolt <ma...@ydekproductions.com>
Date: 2013-06-30 (Sun, 30 Jun 2013)

Changed paths:
M django/contrib/sessions/middleware.py

Log Message:
-----------
Define the SessionStore inside __init__ instead of process_request

It's unnecessary to run this on every request, since technically, settings *should be* immutable.



Reply all
Reply to author
Forward
0 new messages