Re: logging?

2010-05-04 Thread Alex Gaynor
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

logging?

2010-05-04 Thread Kevin Howerton
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

Re: Silently replaced session_key

2010-05-04 Thread Jacob Kaplan-Moss
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

Silently replaced session_key

2010-05-04 Thread George Sakkis
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