Re: Using AbstractBaseUser without django.contrib.auth

2015-04-02 Thread Dan Watson
On Thursday, April 2, 2015 at 10:38:48 AM UTC-4, Marc Tamlyn wrote: > > Apologies, I was confusing abstract base user and abstract user there. > Seems your proposal should work. Have you opened a ticket? > I have: https://code.djangoproject.com/ticket/24564 https://github.com/django/django/pull/

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-02 Thread Marc Tamlyn
Apologies, I was confusing abstract base user and abstract user there. Seems your proposal should work. Have you opened a ticket? On 2 April 2015 at 14:28, Dan Watson wrote: > On Thursday, April 2, 2015 at 2:27:51 AM UTC-4, Marc Tamlyn wrote: >> >> Moving them into another module won't make much

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-02 Thread Dan Watson
On Thursday, April 2, 2015 at 2:27:51 AM UTC-4, Marc Tamlyn wrote: > > Moving them into another module won't make much difference as their > definition requires Permission and Group and therefore they'd still need to > import Permission and Group. We'd need an "AbstractAbstractBaseUser" which >

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-01 Thread Marc Tamlyn
Moving them into another module won't make much difference as their definition requires Permission and Group and therefore they'd still need to import Permission and Group. We'd need an "AbstractAbstractBaseUser" which would be silly. Of course, there is no requirement to use AbstractBaseUser for

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-01 Thread Shai Berger
On Thursday 02 April 2015 05:50:04 Curtis Maloney wrote: > Does your model inherit from PermissionsMixin? > > If you're using Admin, or any of Django's permissions machinery, you will > need django.contrib.auth in there to use the Group and Permission models. > The problem is not with permission

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-01 Thread Dan Watson
On Wednesday, April 1, 2015 at 10:50:17 PM UTC-4, Curtis Maloney wrote: > > Does your model inherit from PermissionsMixin? > > If you're using Admin, or any of Django's permissions machinery, you will > need django.contrib.auth in there to use the Group and Permission models. > > I'm using my own

Re: Using AbstractBaseUser without django.contrib.auth

2015-04-01 Thread Curtis Maloney
Does your model inherit from PermissionsMixin? If you're using Admin, or any of Django's permissions machinery, you will need django.contrib.auth in there to use the Group and Permission models. -- Curtis On 2 April 2015 at 13:47, Dan Watson wrote: > While trying out Django 1.8 with one of my