[ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-23 Thread Surya Mukherjee
Django's standard User class isn't sufficient for my needs so I am making my own User class. As per the User Authentication doc page, I am subclassing AbstractUser (not AbstractBaseUser) to add some new stuff. from django.contrib.auth.models import AbstractUser class MyUser(AbstractUser):

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-23 Thread Russell Keith-Magee
On Wed, Oct 24, 2012 at 12:02 PM, Surya Mukherjee wrote: > Django's standard User class isn't sufficient for my needs so I am making > my own User class. As per the User Authentication doc page, I am > subclassing AbstractUser (not AbstractBaseUser) to add some new stuff. > > > from django.co

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-24 Thread Stephen Anto
Hi, You can extend Default Django User model without breaking its architecture. Just visit http://www.f2finterview.com/web/Django/21/ It will explain you in detail. On Wed, Oct 24, 2012 at 9:32 AM, Surya Mukherjee wrote: > Django's standard User class isn't sufficient for my needs so I am making

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-24 Thread Russell Keith-Magee
On Wed, Oct 24, 2012 at 5:51 PM, Stephen Anto wrote: > Hi, > > You can extend Default Django User model without breaking its > architecture. Just visit http://www.f2finterview.com/web/Django/21/ It > will explain you in detail. If you're going to give advice, it's probably a good idea to check t

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2013-03-21 Thread Lewis Taylor
And this is why I learnt the names of many of those major in the Django community! Now if I post after them, it's mostly to say. Yes I agree. Like I'm doing now :-) On Wednesday, 24 October 2012 05:02:02 UTC+1, Surya Mukherjee wrote: > > Django's standard User class isn't sufficient for my n

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2016-12-12 Thread NoviceSortOf
I've replaced the use of ForeignKey as mentioned above for models.ForeignKey(settings.AUTH_USER_MODEL). But I still get the following syncdb errors. *** CommandError: One or mor