Re: automating Django releases

2016-11-25 Thread Josh Smeaton
I think automating as much of the release process is a fantastic idea. Regarding bumping the release numbers, have you seen the bumpversion project https://pypi.python.org/pypi/bumpversion? After some trial and error, I seem to have a configuration that works with the existing version tuple in

Re: Window expressions, #26608

2016-11-25 Thread Josh Smeaton
OrderBy takes an expression - it doesn't have to be a single column. For example, this is valid: (Lower('last_name') + Lower('first_name)).desc() == OrderBy(Lower('last_name') + Lower('first_name), descending=True) On Friday, 25 November 2016 23:22:58 UTC+11, Mads Jensen wrote: > > On Tuesday,

Re: automating Django releases

2016-11-25 Thread Raphaƫl Barrois
On Fri, 25 Nov 2016 11:49:54 -0800 (PST) Tim Graham wrote: > After doing releases about once a month for a while, I'm thinking it would > be nice if releasing Django could be a bit more automated. As far as I > know, the process hasn't changed too much in 10 years, while the state of > Python

Re: automating Django releases

2016-11-25 Thread Raffaele Salmaso
On Fri, Nov 25, 2016 at 8:49 PM, Tim Graham wrote: > After doing releases about once a month for a while, I'm thinking it would > be nice if releasing Django could be a bit more automated. As far as I > know, the process hasn't changed too much in 10 years, while the state of > Python packaging h

automating Django releases

2016-11-25 Thread Tim Graham
After doing releases about once a month for a while, I'm thinking it would be nice if releasing Django could be a bit more automated. As far as I know, the process hasn't changed too much in 10 years, while the state of Python packaging has improved. Currently doing a release requires bumping t

Re: Consider reverting or adding guidelines on how to use class based views for security sensitive features

2016-11-25 Thread Markus Bertheau
I'd like to argue in favor of exercising caution when using CBVs. In my experience, CBVs shine when the requirements closely match the use case for a certain CBV and all customizations are purely declarative, often just setting the model. With the level of expressiveness that Python gives us a

Re: Window expressions, #26608

2016-11-25 Thread Mads Jensen
On Tuesday, November 22, 2016 at 11:50:17 PM UTC+1, Josh Smeaton wrote: > Thanks for picking this up. I've been wondering if Window expressions > would be possible, and what limitations we might have to make based on our > ORM. > I was fortunate that the reporter posted a snippet to work from :