Ticket update ending up in gmail spam

2020-10-22 Thread Peter Inglesby
Hi folks, An email with an update on ticket that I'm subscribed to has ended up in my gmail spam folder: [image: image.png] I'm not sure what to suggest! Peter. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: Help needed to fix hundreds of failing tests

2020-10-12 Thread Peter Inglesby
Thanks Hasan for offering to help. Either of Carles's approaches would work -- I don't have a strong view. Making the smaller fix (ie adding transform=str every time assertQuerysetEqual fails) would require the least thinking. But it may miss some good opportunities to refactor or simplify the te

Help needed to fix hundreds of failing tests

2020-10-10 Thread Peter Inglesby
Hi folks, I've authored PR 12417 (Fixed 31235 -- Updated assertQuerysetEqual to compare querysets directly) which has added a new RemovedInDjango41Warning... which causes hundreds of test failures. Unfortu

Re: Welcome email

2020-07-09 Thread Peter Inglesby
Hi folks, Is there any moderation for posts from new users? It can be enabled , and I'd be willing to be part of a team that filters posts from new users. All the best, Peter. On Thu, 9 Jul 2020 at 13:59, Adam Johnson wrote: > I think t

Enhancement to assertQuerysetEqual

2020-02-04 Thread Peter Inglesby
Hi folks, I always find the behaviour of assertQuerysetEqual surprising, particularly when I pass it two querysets that I expect to be the same, or when the second argument is a list of model instances. Under the covers, assertQuerysetEqual(xs, ys) is roughly equivalent to assert [repr(x) for x i

Re: undeclared variable appearing in django/db/models/__init__.py

2016-10-07 Thread Peter Inglesby
Hi Tim, Disappointingly, I don't think Django's doing anything off the wall here! When you import a package's submodule, the name of that submodule is added to the package's namespace. This is what allows you to put `import p.m`, and to then to use `p.m` in your code -- module m is added to pack

Re: How to stop testserver from within a test case?

2014-11-19 Thread Peter Inglesby
Hi Arun, This group is for discussion of development of Django itself. Your question is better suited to the 'Django users' group: https://groups.google.com/forum/#!forum/django-users All the best, Peter On 18 November 2014 15:51, Arun Marathe wrote: > > > > We have Django 1.6. > > For a som