LiveServerTestCase non-deterministic Remote end closed connection without response

2018-09-05 Thread Rares Vernica
Hello, I have a test script starting a live server using LiveServerTestCase. The test script issues requests to the server using requests.Session. At random points in the script the Django server decides to close the connection without a response. Here are some more details. My test script is

QuerySet extra() duplicate table

2008-10-17 Thread Rares Vernica
Hello, I am using QuerySet "extra()" function. For the "tables" parameter I need to specify the same table multiple times, so I included an alias for each table. Unfortunately Django quotes the table names and everything is messed up. The "tables" parameter for the "extra()" is: tables

Re: union of two QuerySets

2006-12-11 Thread Rares Vernica
Hi, I know the Q way, but actually the filter contains already a lot of Qs. I am looking for a way to combine "a" and "b" without going into their filters. Thanks Jacob Kaplan-Moss wrote: > On 12/10/06 9:37 PM, Rares Vernica wrote: >> What is a way to get the uni

Re: "first_name" -> "First Name"

2006-10-29 Thread Rares Vernica
Actually I mean this transformation: "first_name" -> "First name". Thanks, Ray Rares Vernica wrote: > Hi, > > Where is the django function that does the "first_name" -> "First Name" > transformation? (The function

"first_name" -> "First Name"

2006-10-29 Thread Rares Vernica
Hi, Where is the django function that does the "first_name" -> "First Name" transformation? (The function is used by the Admin interface.) Thanks a lot, Ray --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

enhance Adimin interface

2006-08-23 Thread Rares Vernica
Hi, I like the Admin interface very much. :) Currently the Admin interface is designed for adding or changing objects, bot not for *viewing* them. I am thinking to enhance it with view capabilities. For example, when you want to change an object you have some nice features to select the

DateField(blank=True), null?

2006-08-14 Thread Rares Vernica
Hi, I have a DateField with blank=True and after I complete and submit the form I get a Django error saying that DateField cannot be null? How can I set the DateField so that it can be empty, and eventually null in the DB? I don't like the idea of manually going and changing the DB schema.

Contacts application

2006-08-08 Thread Rares Vernica
Hi, Do you know anybody trying a Contacts/Phonebook type of application in Django? I am thinking about building one. Thanks a lot, Ray --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: TEMPLATE_CONTEXT_PROCESSORS

2006-07-30 Thread Rares Vernica
Hi, I written my own views. How can I pass a RequestContext objects, instead of a plain Context object, from my view to my template? Thanks a lot, Ray Ian Clelland wrote: > On 7/24/06, Rares Vernica <[EMAIL PROTECTED]> wrote: >> The goal is to have request.META.PATH_IN

TEMPLATE_CONTEXT_PROCESSORS

2006-07-24 Thread Rares Vernica
Hi, I added this to my settings.py: TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', ) I took it from the second comment from here: