Complicated, strange bug in ``prefetch_related`` when used in the context of a test client

2012-10-28 Thread Yo-Yo Ma
I'm still working on forming some sort of understanding of what exactly causes this and/or what is even going on, so any help is much appreciated. The resultant attached "bars" in the following example: queryset = Foo.objects.all() queryset = queryset.prefetch_related('bars__baz') ob

Github tags

2012-10-28 Thread Matt Austin
Hi, Would it be possible to get tags for 1.3.3, 1.3.4, 1.4.2, and 1.5 alpha tagged on the github repository? The tagging seems to have fallen behind with these releases. Thanks, -- Matt -- You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: #3011 - Custom User Models -- Call for final review

2012-10-28 Thread Paul McMillan
On Sun, Oct 28, 2012 at 8:54 AM, Ludwig Kraatz wrote: > Just found a way to describe my point of view in a little different way: > * Why is there a need to have Authentication and Authorization in one App - > when both answer a totally different purpose? * > But the answer - as you said - it migh

Re: preventing 'csrftoken' cookie fixation attacks

2012-10-28 Thread Paul McMillan
Hi Mike, If an attacker can set cookies on your domain, you've got much larger problems than whether or not they know the nonce. Even if you do change the nonce on login, you are still vulnerable to multiple forms of session fixation attacks. To quote myself from an earlier mail to this list: htt

Re: How to test patch

2012-10-28 Thread Donald Stufft
Travis or Jenkins can be setup to test PR's and use Github's API to mark the PR as good to merge or not. On Sunday, October 28, 2012 at 5:20 AM, Russell Keith-Magee wrote: > > On Sun, Oct 28, 2012 at 3:55 PM, Dominic Rodger (mailto:dominicrod...@gmail.com)> wrote: > > Another long time user h

Re: #3011 - Custom User Models -- Call for final review

2012-10-28 Thread Ludwig Kraatz
Yeah i got your point and thats totally fine - i'll definitely find a workaround ;-) Just found a way to describe my point of view in a little different way: * Why is there a need to have Authentication and Authorization in one App - when both answer a totally different purpose? * But the answe

Re: How to test patch

2012-10-28 Thread Jan Bednařík
Thanks for your feedbacks, they are really helpful. I noticed existence of Jenkins test runner and also I found old discussion about Django's testing infrastructure: https://groups.google.com/d/topic/django-developers/_HfxwT7sVu0/discussion What is the actual status of automated testing infrastru

Re: How to test patch

2012-10-28 Thread Russell Keith-Magee
On Sun, Oct 28, 2012 at 3:55 PM, Dominic Rodger wrote: > Another long time user here (at some point I'd love to make the jump to > contributor, just need to find more time) - out of interest, is there a > reason we don't use Travis? I wonder if that might help those with commit > access, since pre

Re: How to test patch

2012-10-28 Thread Dominic Rodger
Another long time user here (at some point I'd love to make the jump to contributor, just need to find more time) - out of interest, is there a reason we don't use Travis? I wonder if that might help those with commit access, since pre-tested pull requests would mean you could have confidence t

Re: How to test patch

2012-10-28 Thread Roman Gladkov
Hi Jan. How I doing it. Until I work with patch I run only part of tests.(If I make test at "modeltests/serializers/tests.py " I run only "./runtests.py --settings=test_sqlite serializers" for fast checking). And before to submit patch on Trac I always run all tests. That allows to working fast