Re: Pre-DEP: community support of unmaintained versions of Django

2015-08-18 Thread Christian Hammond
Hi Carl, I know it's been a while since we discussed this, but today's security release is the first one that's really affecting our product and we've finally got things in shape to be able to start distributing unofficial Django security releases (we've also just been swamped since our

Re: Django Admin New Look

2015-08-18 Thread Shai Berger
On Tuesday 18 August 2015 14:29:15 Marc Tamlyn wrote: > I don't know about schedule, but caniuse reports IE8 browser usage at 1.5%, > more than IE9 or IE10. > > There's an argument we shouldn't be "enabling" people still using XP who > are stuck on IE8, and this is a decreasing problem, but I

request for API review of streaming responses additions

2015-08-18 Thread Tim Graham
I'd like to ask for a high-level API review of some proposed streaming API additions (I have already given the patch a couple of detailed reviews, but other eyes would be welcome on the details as well). Summary: * django.views.generic.base.StreamingTemplateView to stream a template rather

Re: Django ORM query syntax enhancement

2015-08-18 Thread Alexey Zankevich
Once Josh completes this patch https://github.com/django/django/pull/5090 (.filter method accepting class-based lookups and transforms), it will be almost everything required by third-party apps. Is it going to be a part of Django 1.9, by the way? Additionally, for pure flexibility, next method

[ANNOUNCE] Django security releases issued (1.4.22, 1.7.10, and 1.8.4)

2015-08-18 Thread Tim Graham
Today the Django team issued multiple releases -- Django 1.4.22, 1.7.10, and 1.8.4 -- as part of our security process. These releases address a security issue, and we encourage all users to upgrade as soon as possible. More details can be found on our blog:

Re: Django ORM query syntax enhancement

2015-08-18 Thread Michael Manfre
+1 for making it doable for 3rd party apps. Regards, Michael Manfre On Tue, Aug 18, 2015 at 12:49 PM, Anssi Kääriäinen wrote: > I'm still thinking we shouldn't integrate any new query syntax into > 1.9. Instead lets make it easy to create 3rd party apps that offer >

Re: Django ORM query syntax enhancement

2015-08-18 Thread Marc Tamlyn
I strongly agree with the third party approach. On 18 Aug 2015 17:49, "Anssi Kääriäinen" wrote: > I'm still thinking we shouldn't integrate any new query syntax into > 1.9. Instead lets make it easy to create 3rd party apps that offer > different querying syntax, and then

Re: Django ORM query syntax enhancement

2015-08-18 Thread Anssi Kääriäinen
I'm still thinking we shouldn't integrate any new query syntax into 1.9. Instead lets make it easy to create 3rd party apps that offer different querying syntax, and then lets see which solution (if any) gets popular enough to be integrated into Django. - Anssi On Tue, Aug 18, 2015 at 5:54

Re: Enhancement to the call_command function to allow the use of modules as arguments

2015-08-18 Thread Carl Meyer
On 08/18/2015 10:10 AM, Mike Lissner wrote: > On Tuesday, August 18, 2015 at 12:00:30 PM UTC-4, Carl Meyer wrote: > > > (Doc patches to better reflect that principle in the management command > docs are welcome, IMO.) > > Yeah, it's sounding like this is the change that's needed here.

Re: Enhancement to the call_command function to allow the use of modules as arguments

2015-08-18 Thread Mike Lissner
On Tuesday, August 18, 2015 at 12:00:30 PM UTC-4, Carl Meyer wrote: > > (Doc patches to better reflect that principle in the management command > docs are welcome, IMO.) > > Yeah, it's sounding like this is the change that's needed here. Probably the place to do that is here:

Re: Enhancement to the call_command function to allow the use of modules as arguments

2015-08-18 Thread Carl Meyer
Hi Marc, Mike, Aymeric, On 08/18/2015 06:52 AM, Marc Tamlyn wrote: > This is a deliberate approach you would use - South used it for years to > customise syncdb. > > call_command is intended as a python API for testing `$ django-admin > foo`. Two of your arguments are based around IDE usage,

Re: Django ORM query syntax enhancement

2015-08-18 Thread Collin Anderson
Just a quick thought: I could imagine some newbies could get confused by the python-like syntax and try to do: Equal(P.user.get_full_name(), 'Bob Someone') I don't think it's not a huge deal, but worth noting. On Tuesday, August 18, 2015 at 8:00:17 AM UTC-4, Alexey Zankevich wrote: > > Hi all,

Re: Enhancement to the call_command function to allow the use of modules as arguments

2015-08-18 Thread Marc Tamlyn
This is a deliberate approach you would use - South used it for years to customise syncdb. call_command is intended as a python API for testing `$ django-admin foo`. Two of your arguments are based around IDE usage, which I don't think is a valid argument, and the third is about reducing string

Re: Enhancement to the call_command function to allow the use of modules as arguments

2015-08-18 Thread Mike Lissner
I see. Could this concern be addressed by adding it to the checks framework, so that it throws a warning if there are ever two commands with the same name? On Mon, Aug 17, 2015 at 11:16 AM Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > 2015-08-17 16:54 GMT+02:00 Mike Lissner

Re: Django ORM query syntax enhancement

2015-08-18 Thread Alexey Zankevich
Hi all, Thanks for detailed response. I thought over the described expressions/ transforms patches and here are my thoughts about the best way to implement simplified lookups. Firstly, I want to describe which properties of the new syntax seem to be important: 1. Using Python operators to do

Re: Django Admin New Look

2015-08-18 Thread Markus Holtermann
Hey, Looking at some browser market share stats (http://www.sitepoint.com/browser-trends-august-2015-chrome-exceeds-50/ , disclaimer: http://www.sitepoint.com/how-browser-market-share-is-calculated/) IE8 seems hardly be used anyway. Furthermore, with the dropped support for IE8 (and 9+) on Jan

Re: Django Admin New Look

2015-08-18 Thread Marc Tamlyn
I don't know about schedule, but caniuse reports IE8 browser usage at 1.5%, more than IE9 or IE10. There's an argument we shouldn't be "enabling" people still using XP who are stuck on IE8, and this is a decreasing problem, but I don't think we can tie ourselves to Microsoft's support dates. On

Re: Django Admin New Look

2015-08-18 Thread Tim Graham
I also had the idea of upgrading jQuery to jQuery 2 which drops support for IE6/7/8, but I guess this will break all the JavaScript in the admin under those browsers. Do you think that's unacceptable at this time? If so, could you propose an alternate timetable for the upgrade? On Tuesday,

Re: Django Admin New Look

2015-08-18 Thread Aymeric Augustin
On 18 août 2015, at 01:28, Tim Graham wrote: > Unless someone can present an argument for keeping IE8 support, I wouldn't > worry about it considering it will be end of life about 1 month after the > release of Django 1.9. Let’s just make sure the admin stays usable,