On Tue, May 4, 2010 at 11:47 PM, Kevin Howerton
wrote:
> Realized today that by default django more or less suppresses errors
> sent to stderr when debug is off. Well I guess it uses email sent to
> admins by default. Though, I distinctly remember stderr being sent
> into my apache logs for some
Realized today that by default django more or less suppresses errors
sent to stderr when debug is off. Well I guess it uses email sent to
admins by default. Though, I distinctly remember stderr being sent
into my apache logs for some reason. Maybe this was when I was using
mod_python rather than
On Tue, May 4, 2010 at 3:11 PM, George Sakkis wrote:
> Is this a bug or a feature ?
Take a look at the source (django/contrib/sessions/backends/db.py;
line 16 - the load() function). If the session key doesn't exist in
the database, a new session key will be generated. This prevents users
from be
Is this a bug or a feature ?
>>> from django.contrib.sessions.backends.db import SessionStore
>>> s = SessionStore(session_key='secret!!!11')
>>> s.session_key
'secret!!!1!1'
>>> 'foo' in s
False
>>> s.session_key
'7f9aa956cb169b1f89a3a5b384cafc1b'
George
--
You received this message because yo