change of ORDER_PATTERN

2010-11-24 Thread Ralf
Hey, I want to use a coalesce-expression as orderBy-criteria in an admin- list-view. It seems to be easy with the following definition in the model: def end_extra(self, obj): return obj.endprj if obj.extraprj is None else obj.extraprj end_extra.short_description="end/extratime"

Re: Validator for \t

2010-11-09 Thread Ralf Peschke
jango docs. Now I'm thinking of overwriting the to_python-Method of the models charField-class. Or are there better solutions? Am 08.11.2010 21:55, schrieb J. Cliff Dyer: > On Mon, 2010-11-08 at 12:21 -0800, Ralf wrote: >> Hi, >> >> my users put values like 'Pa

Validator for \t

2010-11-08 Thread Ralf
Hi, my users put values like 'Paul\t\t' per copy and paste into html- formfields and suceeded, the values ended up in the database. I wonder whether there is no build-in-validator to prevent these kind of invalid input. Is there a cheap way to validate or strip these kind of input? -- You recei

Re: Running Django and a socket server

2008-04-10 Thread Ralf Kistner
process or two different > processes. > With option #2, communication could be done with direct method calls instead of using TCP sockets. Anyway, I think I'll stick with option #1. Thanks, Ralf --~--~-~--~~~---~--~~ You received this message because you

Running Django and a socket server

2008-04-10 Thread Ralf
7;t really like the idea of the web server starting the socket server. Which option would work better? For the second option, what is the best way to start the socket server from Django? Regards, Ralf Kistner --~--~-~--~~~---~--~~ You received this message becau

Re: Shared hosting with FastCGI, problems

2008-01-14 Thread Ralf
module: /home/tourista/ python/_mysql.so: cannot open shared object file: No such file or director I guess I'll need to recompile from source on the server, but I don't have ssh access yet. Ralf On Jan 8, 8:32 am, Michael Hipp <[EMAIL PROTECTED]> wrote: > Michael Hipp wrote: >