On 23 Mar 2016, at 01:57, Matt <[email protected]> wrote:

> I like to use the authentication machinery in Django, without explicitly 
> putting 'django.contrib.auth' in INSTALLED_APPS. This prevents a bunch of 
> unused tables from being creating in the database.



Hello,

For the record, we came to the following resolution on the related Trac ticket:

MIGRATION_MODULES = {
    'auth': None
}

This trick also works for django.contrib.sessions if you don’t use the database 
or cached database backend.

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/461E0A12-4F1B-4A41-8800-CB4B4283D7FB%40polytechnique.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to