Re: mod_wsgi using a subpath in combination with a middleware that calls django.core.urlresolvers.resolve is not working

2012-11-29 Thread Jan Murre
Op donderdag 29 november 2012 09:07:01 UTC+1 schreef Jan Murre het volgende: > > > > Op maandag 26 november 2012 19:50:50 UTC+1 schreef ke1g het volgende: >> >> >> >> On Thu, Nov 22, 2012 at 11:28 AM, Jan Murre wrote: >> >>> Hi, >>> &g

Re: mod_wsgi using a subpath in combination with a middleware that calls django.core.urlresolvers.resolve is not working

2012-11-29 Thread Jan Murre
Op maandag 26 november 2012 19:50:50 UTC+1 schreef ke1g het volgende: > > > > On Thu, Nov 22, 2012 at 11:28 AM, Jan Murre > > wrote: > >> Hi, >> >> I have the following peculiar problem that is very easy to reproduce. >> I use a simple middleware t

mod_wsgi using a subpath in combination with a middleware that calls django.core.urlresolvers.resolve is not working

2012-11-22 Thread Jan Murre
Hi, I have the following peculiar problem that is very easy to reproduce. I use a simple middleware the attaches the 'app_name' that is defined in the urlconf to 'request.user' for subsequent use. from django.core.urlresolvers import resolve class ApplicationAwareMiddleware(object):

Sessions not created in Postgres backend

2010-06-14 Thread Jan Murre
Hi, We are running a Django 1.0 site on PostgreSQL 8.1 (on a Debian server). We are using the 'db' backend for sessions. Trouble is that our users cannot log in to the site anymore, which is quite serious of course. Users with an existing session cookie can access the site without trouble, but log