Commits

Esteban Feldman committed b7b65ac

minor change

Comments (0)

Files changed (1)

avatar/management/__init__.py

 from django.db.models import signals
 from django.utils.translation import ugettext_noop as _
 
-if "notification" in settings.INSTALLED_APPS:
+if "notification" in settings.INSTALLED_APPS and getattr(settings, 'AVATAR_SEND_NOTIFICATIONS', False):
     from notification import models as notification
     
     def create_notice_types(app, created_models, verbosity, **kwargs):