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

2018-02-08 Thread Stephan Doliov
return self.is_superuser > > def has_module_perms(self, app_label): > return self.is_superuser > > def has_perm(self, perm): > return self.is_superuser > > On Thu, Feb 8, 2018 at 1:58 PM, Stephan Doliov > wrote: > >> Hi, >> I

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

Tracking back exceptions

2018-01-05 Thread Stephan Doliov
I posted a similar query in django-users and haven't heard back yet, perhaps because I didn't formulate my inquiry clearly or because my inquiry gets deeper into django internals than a django-user post should. I have a situation, python 3.5, Django 2.0, Django Rest Framework 3.7.7 and I want t