Commits

Esteban Feldman  committed b7b65ac

minor change

  • Participants
  • Parent commits a0d0e7d

Comments (0)

Files changed (1)

File 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):