Re: User created objects

2013-10-20 Thread Ideo Rex
Thanks for the info. Hopefully I can get sent in the right direction from there On Sunday, October 20, 2013 8:09:13 AM UTC-7, Erik Romijn wrote: > > Hello Ideo, > > On Oct 20, 2013, at 9:11 AM, Ideo Rex > > wrote: > > I'm relatively new to Django. So I have a working (local) web > application

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 where the user model has >> no last_login field?

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 a couple of times since int

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 not a bug, it is by design

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 be circumvented? Should t

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

2013-10-20 Thread Harry Percival
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? Here's the minimal repro: https://github.com/hjwp/minimal-django-custom-user-model/commit/377a83a9c995b2346b79458dcb5

Re: User created objects

2013-10-20 Thread Erik Romijn
Hello Ideo, On Oct 20, 2013, at 9:11 AM, Ideo Rex wrote: > I'm relatively new to Django. So I have a working (local) web application. I > can create new model objects from the admin site, but I would like my users > to be able to create their own objects and save them to the database. I'm > re

User created objects

2013-10-20 Thread Ideo Rex
Hello, I'm relatively new to Django. So I have a working (local) web application. I can create new model objects from the admin site, but I would like my users to be able to create their own objects and save them to the database. I'm really confused on the over arching process on how this is dow