Re: Thoughts re looser coupling of django.contrib.auth and django.contrib admin

2018-02-08 Thread Stephan Doliov
Yes, Thank you Colin, I do the same thing already as a work around, I was just thinking it would be nice if pluggable/swappable user models didn't have to do this workaround out of the box because this too, is a bit coarse to my own taste: ultimately, a "superuser" is needed. My first leanings o

Re: Thoughts re looser coupling of django.contrib.auth and django.contrib admin

2018-02-08 Thread Collin Anderson
Hi Steve, If it helps at least in the short-term, those fields currently don't need to be actual database columns. I have a custom user that has these properties/methods to make work with the admin. Collin @property def is_anonymous(self): return not self.is_authenticated @p

Thoughts re looser coupling of django.contrib.auth and django.contrib admin

2018-02-08 Thread Stephan Doliov
Hi, I would like to solicit some feedback regarding some existing tight coupling between django.contrib.auth and django.contrib admin. The existing, and nominally swappable user model that ships with django assumes, for the out-of-the-box application benefit of django.contrib.admin, that there