compat: add variable use_attribute_aggregator to see if attribute_aggregator is being used

This commit is contained in:
Benjamin Dauvergne 2013-11-13 18:53:50 +01:00
parent f1775cc0e1
commit 01b7607334
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@ except ImportError:
get_user_model = lambda: User
user_model_label = getattr(settings, 'AUTH_USER_MODEL', 'auth.User')
use_attribute_aggregator = 'authentic2.attribute_aggregator' \
in settings.INSTALLED_APPS