Remove contrib redirect's dependency on sites

2013-09-30 Thread Simon Litchfield
Contrib redirects is still a handy little app, but it's dependency on contrib.sites is often unnecessary and a little annoying. Would anyone else be keen to see the dependency removed, gracefully? If so I'll spin up the code. -- You received this message because you are subscribed to the Googl

Re: AbstractUser to get more abstract

2013-09-30 Thread Russell Keith-Magee
Hi Rocky, On Thu, Sep 26, 2013 at 4:17 PM, Rocky Meza wrote: > > Hi, > > I'm another one of the authtools devs. > > On Tuesday, September 24, 2013 6:04:17 PM UTC-6, Luke Sneeringer wrote: >> >> Good evening, Russell, et. al., >> This is a problem that we ran into with authtools, what we ended up

Re: AbstractUser to get more abstract

2013-09-30 Thread Russell Keith-Magee
On Wed, Sep 25, 2013 at 8:04 AM, Luke Sneeringer wrote: > Good evening, Russell, et. al., > I had some time this afternoon. :-) Since there are already a couple of > reference implementations for how to do this with an e-mail app, I decided > to take a crack at an implementation that would include

Re: filtering a QuerySet after a slice

2013-09-30 Thread Michael Manfre
Array slicing doesn't always return a QuerySet and shouldn't be adapted to this proposed behavior. Directly exposing Query.set_limits() on the QuerySet would most likely have confusing behavior to at least some group of people. Given the current behavior of Query.set_limits(), what should be the s

Re: filtering a QuerySet after a slice

2013-09-30 Thread Rimvydas Naktinis
I completely agree with Gary's argumentation here. And I would love to see .limit() introduced (or array slicing adapted). I ran into a situation where I have access into intermediate queryset() construction, where I normally do add .filter() statements, but now I had to limit a number of queri

Re: A policy on calling super()

2013-09-30 Thread Aymeric Augustin
I read the original request as a matter of principle and not something born from an actual need. View is intended to be the rightmost class in an inheritance scheme. I haven't seen a sane use case for injecting it as a mixin. This change is more likely to allow beginners to shoot themselves int