Opened 10 years ago

Closed 10 years ago

#24564 closed Cleanup/optimization (fixed)

Can't use AbstractBaseUser without installing django.contrib.auth

Reported by: Dan Watson Owned by: Tim Graham <timograham@…>
Component: contrib.auth Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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).

Change History (6)

comment:1 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:2 by Tim Graham, 10 years ago

Has patch: set
Needs documentation: set

comment:3 by Luis Del Giudice, 10 years ago

Owner: changed from nobody to Luis Del Giudice
Status: newassigned

comment:4 by Luis Del Giudice, 10 years ago

Owner: Luis Del Giudice removed
Status: assignednew

comment:5 by Tim Graham, 10 years ago

Needs documentation: unset

comment:6 by Tim Graham <timograham@…>, 10 years ago

Owner: set to Tim Graham <timograham@…>
Resolution: fixed
Status: newclosed

In fe914341:

Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS

Note: See TracTickets for help on using tickets.
Back to Top