Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-12-18 Thread Harry Percival
Hi all, can't believe I missed this entire thread because googlegroups didn't auto-subscribe me to replies. thanks for the tips. For the curious, I'm using Mozilla Persona. Detailed info here: http://chimera.labs.oreilly.com/books/123400754/ch14.html On Monday, 21 October 2013 15:22:07

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-21 Thread Xavier Ordoquy
Hi, Le 21 oct. 2013 à 16:04, Tino de Bruijn a écrit : > Harry's use case is an interesting one -- his authentication is being done > entirely by an external process, so there's no need for a password field. > Yes, he could just have the password and last_login fields and not

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-21 Thread Daniele Procida
On Mon, Oct 21, 2013, Tino de Bruijn wrote: >@Harry, just out of curiosity, may I ask how you *do* authenticate your >users? I think he challenges them to a sword fight with rolled-up umbrellas. Daniele -- You received this message because you are subscribed to the Google

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-21 Thread Tino de Bruijn
On Mon, Oct 21, 2013 at 2:13 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Mon, Oct 21, 2013 at 7:17 AM, Tino de Bruijn wrote: > >> >> On Mon, Oct 21, 2013 at 12:25 AM, Harry Percival < >> harry.perci...@gmail.com> wrote: >> >>> I don't care about last_login!

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-20 Thread Russell Keith-Magee
On Mon, Oct 21, 2013 at 7:17 AM, Tino de Bruijn wrote: > > On Mon, Oct 21, 2013 at 12:25 AM, Harry Percival > wrote: > >> I don't care about last_login! Can this be circumvented? Should that >> signal be optional, or gracefully handle the case

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-20 Thread Ramiro Morales
On Sun, Oct 20, 2013 at 7:25 PM, Harry Percival wrote: > I'm trying to create a minimal custom user model. The only thing I care > about is email. But it seems Django really wants me to set a last_login > field. Can I avoid it somehow? Thhis has been asked/discussed

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-20 Thread Tino de Bruijn
On Mon, Oct 21, 2013 at 12:25 AM, Harry Percival wrote: > I don't care about last_login! Can this be circumvented? Should that > signal be optional, or gracefully handle the case where the user model has > no last_login field? Should I log this as a bug? No, this is

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-20 Thread Daniele Procida
On Sun, Oct 20, 2013, Harry Percival wrote: >I'm trying to create a minimal custom user model. The only thing I care >about is email. But it seems Django really wants me to set a last_login >field. Can I avoid it somehow? > >I don't care about last_login! Can this