On Monday, 24 October 2011 23:14:40 UTC+1, Jennifer Bell wrote:
>
> On my site, some user data is automatically filled in to a form if a 
> user is logged in by accessing request.user in the view code. 
>
> On deployment, it seems that if *any* user is logged in, forms 
> requested via another browser will be filled in with their data.  The 
> data is not filled in if no user is logged in. 
>
> I'm mystified.  Where is this coming from?  I'm using django 1.3, and 
> caching is not enabled in my settings (though I have set 
> CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True just in case). 
>
> The WSGIDeamonProcess is set up like this: 
> WSGIDaemonProcess lalala user=lalala group=lalala threads=1 
> processes=3 
>
> Is this apache?  mod_wsgi? 
>
> Jennifer


No, it's your code. You've got something somewhere that's providing default 
arguments to your form, but is doing so at the module or class level rather 
than per-request. You'd better show your form and view code.
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/vf2mbcSRJv0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to