Re: user, signal & _thread_locals

2007-03-18 Thread sandro.dentella
> I mean that I find the user in _thread_locals wen I work with > managers, but python complains > the user is not in _thread_locals when the 'receiver' is run, so I > desumed it's becouse is not > run in the same thread. You thing this is wrong? My fault here, I was reinstantiating locals() ra

Re: newb: newforms DateTimeField and User enters in a specific format

2007-03-18 Thread johnny
At least, can someone tell me, what date time format, newforms DateTimeField takes? Right now it's not taking 03/17/2007 05:11 PM in the input field, validation is failing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: newb: newforms DateTimeField and User enters in a specific format

2007-03-18 Thread [EMAIL PROTECTED]
On Mar 18, 9:55 am, "johnny" <[EMAIL PROTECTED]> wrote: > At least, can someone tell me, what date time format, newforms > DateTimeField takes? Right now it's not taking 03/17/2007 05:11 PM in > the input field, validation is failing. The problem is you are specifying 'PM'. None of the default fi

Multiple file upload crashes dev server

2007-03-18 Thread [EMAIL PROTECTED]
Hi everybody, the following script running on the dev server with Py2.4/Win2k3 (tested on both IE7 and FF2) crashes the dev server. The funny thing is that the files get actually written to the filesystem and CPU usage is normal. What i'm trying to do is allow uploading of an undeterminate numbe

Re: delimiter problem with initial sql

2007-03-18 Thread Indy
Hi Malcolm! >> I'm using initial sql data to create some triggers in MySQL. This >> works fine until I use multiple statements in a trigger. > There's no clean fix that just uses the Django framework at the moment. > This is a really hard problem to solve in the general case, since it > would req

Re: Search feature

2007-03-18 Thread Mary
Thank you for replying me I tried flatpages = FlatPage.objects.filter(Q(title__contains=search_str) | Q(content__contains=search_str)) products = Product.objects.filter(Q(title__contains=search_str) | Q(description__contains=search_str)) but it gave me error Exception Type: NameError Excep

Re: Multiple file upload crashes dev server

2007-03-18 Thread Malcolm Tredinnick
On Sun, 2007-03-18 at 15:15 +, [EMAIL PROTECTED] wrote: > Hi everybody, > > the following script running on the dev server with Py2.4/Win2k3 > (tested on both IE7 and FF2) crashes the dev server. The funny thing > is that the files get actually written to the filesystem and CPU usage > is nor

How to report which server responded in a load-balanced environment?

2007-03-18 Thread [EMAIL PROTECTED]
I've got multiple web servers behind a load balancer, and I'd like to be able to stick an HTML comment in the template so I can see which web server handled the request/response. Is there an easy way to do this? --~--~-~--~~~---~--~~ You received this message bec

Problems with GenericForeignKey and ForeignKey

2007-03-18 Thread mrstone
I have sticky bug I can not figure out how to solve. On the dev server it works fine, but moving to mod_python... I'm running a query and it throws an exception, but if I reload the page it works fine. the model has this structure: class InfoProxy(models.Model): info_type = models.Foreign

Call any phone any where FREE

2007-03-18 Thread amar
Download the software for free and Call any phone anywhere Free! - http://surl.in/HLGB7238206SVRAKSX-google --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: How to report which server responded in a load-balanced environment?

2007-03-18 Thread Malcolm Tredinnick
On Sun, 2007-03-18 at 19:48 +, [EMAIL PROTECTED] wrote: > I've got multiple web servers behind a load balancer, and I'd like to > be able to stick an HTML comment in the template so I can see which > web server handled the request/response. > > Is there an easy way to do this? Assuming each

Re: Multiple file upload crashes dev server

2007-03-18 Thread [EMAIL PROTECTED]
On Mar 18, 7:40 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2007-03-18 at 15:15 +, [EMAIL PROTECTED] wrote: > I have no idea what's going on, but "crashes the dev server" needs more > information. Crashes with what error message? At which point in the > process? Every time or

Re: Search feature

2007-03-18 Thread [EMAIL PROTECTED]
> Exception Type: NameError > Exception Value:global name 'Q' is not defined You are missing: from django.db.models import Q --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Multiple file upload crashes dev server

2007-03-18 Thread [EMAIL PROTECTED]
> The PC literally starts beeping like mad (it's a hardware beep that > you can hear even if the speakers are off). > I know this is going to sound like a cop-out, but it really sounds like a hardware problem. There is no reason why a python script of ANY kind would cause a hardware lockup as you

svn 400 bad request

2007-03-18 Thread [EMAIL PROTECTED]
Hi, all, I have searched the groups and this is the only post I found that is related to this issue. (http://groups.google.com/group/django-users/ browse_frm/thread/10c349fa32a3b2c/6905c9635b3fc562?lnk=gst&q=svn+ +400+Bad+Request&rnum=1#6905c9635b3fc562) In my case, the problem is due to the fir

Multiple Django installations on the same Apache with mod_python

2007-03-18 Thread [EMAIL PROTECTED]
Hi All, I'm trying to set up multiple Django installations on the same Apache server, same application but different code versions, one for tests, one for development... I've followed the instructions from http://www.djangoproject.com/documentation/modpython/ to set them up: ... SetHa

Re: Multiple file upload crashes dev server

2007-03-18 Thread [EMAIL PROTECTED]
On Mar 19, 1:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > The PC literally starts beeping like mad (it's a hardware beep that > > you can hear even if the speakers are off). > > I know this is going to sound like a cop-out, but it really sounds > like a hardware problem. There is no r

Re: Multiple Django installations on the same Apache with mod_python

2007-03-18 Thread Graham Dumpleton
Remove: PythonInterpPerDirective On You are not meant to have that line. Only use the PythonInterpreter directive line. Graham On Mar 19, 3:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm trying to set up multiple Django installations on the same Apache > server, same

Re: Multiple Django installations on the same Apache with mod_python

2007-03-18 Thread [EMAIL PROTECTED]
Hi Graham, thank you for your reply. I have tried without this directive line and got the same behavior. cheers, georges On Mar 19, 3:50 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote: > Remove: > > PythonInterpPerDirective On > > You are not meant to have that line. Only use the PythonInte

Re: svn 400 bad request

2007-03-18 Thread James Bennett
On 3/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In my case, the problem is due to the firewall setting which I have no > power to alter. But if the subversion repository can support the https > protocol, svn can connect to it with no problem. > > I wonder if Django team can add the http

Chemysis

2007-03-18 Thread Charmie
Welcome To Chemysis! If you are a registered member on Chemysis, you will have access to many more features on the website than just being a normal, visiting Guest. Some features include: Sell and trade stuff, view and post guides, get autobuyers, game trainers and other programs which get you