Re: Missing Related Objects in MODEL._meta.get_all_related_objects

2013-06-25 Thread Emil Stenström
On Thursday, 17 February 2011 17:09:26 UTC+1, Martin Siniawski wrote: > > Hey! > > So we have a certain model which is related with many other models, by > ForeignKey fields set in those other models. > > The setup is not particularly exotic, but for some reason, when > using

Re: How can I flush my response stream in django?

2010-10-06 Thread Emil Stenström
he whole page has been rendered. For instance, flushing directly after makes sure new HTTP requests to linked media (CSS and JS) gets requested while the rest of the page is loaded. Now: Is there a nice way of doing this in Django? -- Emil Stenström http://friendlybit.com -- You received this mes

Re: Unittest test-database not empty

2008-03-29 Thread Emil Stenström
Hi rock, I had the same problem and traced it to one of the contrib.auth tests. It seems they don't delete two of the testusers there. I added a ticket about it (http://code.djangoproject.com/ticket/6923), and will just use another username for my own tests meanwhile. /Emil On 30 Jan, 10:34,