Auth tests fail, remote_user

2010-04-27 Thread manu CAZ
Hi, Tests of the auth app are failing with my environnement, especially the remote_user tests. I didn't try to custom this app or anything. 'admin' , 'sites' and 'contenttypes' are in my INSTALLED_APPS. Did I missed a dependency ? Here is a traceback: ERROR: test_known_user (django.contrib.au

Re: Scalability / Traffic-Volume Numbers

2007-05-18 Thread Caz
cally on the vps and each thread showed up as a separate process using ps. Which on a normal box shows up as threads... On May 18, 10:56 am, Caz <[EMAIL PROTECTED]> wrote: > Good point, tho i do ps -e which only lists the process name, not its > params. So greps not included. > > He

Re: Scalability / Traffic-Volume Numbers

2007-05-18 Thread Caz
Good point, tho i do ps -e which only lists the process name, not its params. So greps not included. Here's the count specifically excluding greps... $ ps -ef | grep apache2 | grep -v grep | wc 29 3192349 Here's the straight grepped output with f added [EMAIL PROTECTED]:~$ ps -ef |

Re: Scalability / Traffic-Volume Numbers

2007-05-17 Thread Caz
age i'm fetching is about 12kb -rw-rw-r-- 1 caz caz 12801 May 17 16:32 index.html It includes 15 database news entries. Each one chopped after a couple words. It has a quote of the day which get fetched from the db. Regular django templating. It uses postgresql. No caching enabled whatsoeve

Re: stackless and django

2007-04-20 Thread Caz
Your thinking on the request ending up blocked while the microthread runs seems to be on the money. I suspect you might have to start up a second system thread within which the stackless microthreads can run. In fact you might run into some interesting issues if you don't. I as far as I know mod_

Detect SSL/HTTPS

2007-04-19 Thread Caz
On May 5 2006, 6:35 pm, "Jakub Labath" <[EMAIL PROTECTED]> wrote: > Hi, > > I have web server that is accessed both via http and https is there a > way for me to tell which is used? > > Thanks I notice at http://www.djangoproject.com/documentation/request_response/ there's a bit that reads a fol

Re: Multiple file upload crashes dev server

2007-03-20 Thread Caz
> OK, I'm impressed. :-) > > Nice job thinking through all the things it might be and thinking of > horses, not zebras. > > Malcolm A happy confluence of unrelated events should get the credit tho: work frustration turning into determination to be useful to someone and discovering my new Dell ha

Re: Multiple file upload crashes dev server

2007-03-19 Thread Caz
its hanging beeping like crazy until its beeped its way through the files you are uploading. Caz On Mar 18, 5:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi everybody, > > the following script running on the dev server with Py2.4/Win2k3 > (tested on both IE7

Re: Hiding Relationships in Forms

2007-02-27 Thread Caz
serProfileForm.save(commit=False) userProfile.user = user userProfile.save() Which simply provides the clean_data with all the fields it expects to be there. Does a save without commiting it to the db and finally populates the fields that weren't in the form. Caz --~--~

OpenID

2006-12-05 Thread Caz
Has anyone used OpenID on any of their Django powered websites? I discovered it just now and it looks to be a really elegant cross website user authentication solution. See http://www.lifewiki.net/openid/OpenIDLibraries It even has python libraries available: http://www.openidenabled.com/openid/