[Django] #24564: Can't use AbstractBaseUser without installing django.contrib.auth

8 views
Skip to first unread message

Django

unread,
Apr 2, 2015, 9:36:57 AM4/2/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
-------------------------------+--------------------
Reporter: dcwatson | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.auth | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Full discussion here:

https://groups.google.com/forum/#!topic/django-developers/7b4xzkjLFH8

It seems to me that moving AbstractBaseUser outside of models.py (into a
utils.py or abstract.py) would make it usable without having to put
django.contrib.auth in INSTALLED_APPS (and installing unused tables).

--
Ticket URL: <https://code.djangoproject.com/ticket/24564>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 2, 2015, 10:31:08 AM4/2/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
--------------------------------------+------------------------------------
Reporter: dcwatson | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* needs_better_patch: => 0
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization
* needs_tests: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:1>

Django

unread,
Apr 8, 2015, 10:53:49 AM4/8/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
--------------------------------------+------------------------------------
Reporter: dcwatson | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.8

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* needs_docs: 0 => 1
* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:2>

Django

unread,
Apr 26, 2015, 2:58:51 PM4/26/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
-------------------------------------+-------------------------------------
Reporter: dcwatson | Owner:
Type: | delgiudices
Cleanup/optimization | Status: assigned
Component: contrib.auth | Version: 1.8

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by delgiudices):

* status: new => assigned
* owner: nobody => delgiudices


--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:3>

Django

unread,
Apr 26, 2015, 4:33:27 PM4/26/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
--------------------------------------+------------------------------------
Reporter: dcwatson | Owner:
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.8

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by delgiudices):

* owner: delgiudices =>
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:4>

Django

unread,
May 5, 2015, 8:50:55 AM5/5/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
--------------------------------------+------------------------------------
Reporter: dcwatson | Owner:
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.8

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* needs_docs: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:5>

Django

unread,
May 5, 2015, 12:07:50 PM5/5/15
to django-...@googlegroups.com
#24564: Can't use AbstractBaseUser without installing django.contrib.auth
-------------------------------------+-------------------------------------
Reporter: dcwatson | Owner: Tim
Type: | Graham <timograham@…>
Cleanup/optimization | Status: closed
Component: contrib.auth | Version: 1.8
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* owner: => Tim Graham <timograham@…>
* resolution: => fixed


Comment:

In [changeset:"fe914341c83b37fd6aa8fd85620cf49dd2328ab0" fe914341]:
{{{
#!CommitTicketReference repository=""
revision="fe914341c83b37fd6aa8fd85620cf49dd2328ab0"
Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be
used without auth in INSTALLED_APPS
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24564#comment:6>

Reply all
Reply to author
Forward
0 new messages