#26401: Allow auth machinery to be used without installing auth app
------------------------------+------------------------------------
     Reporter:  satchamo      |                    Owner:  andkon
         Type:  Bug           |                   Status:  assigned
    Component:  contrib.auth  |                  Version:  1.9
     Severity:  Normal        |               Resolution:
     Keywords:  auth          |             Triage Stage:  Accepted
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  1             |  Patch needs improvement:  0
Easy pickings:  1             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by aaugustin):

 FWIW I don't see a lot of value in adding this constraint. Implementing it
 requires a fragile and untestable combination of inner imports to avoid
 touching the models module.

 If the only problem is to avoid creating tables in the database, add a
 `MIGRATION_MODULES` entry for the auth app that points to an empty
 package. I never tried it but I think it should work.

 If this workaround is confirmed to work, I propose to close this ticket as
 wontfix.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.84baea5321ecf21d4284343bec360962%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to