Repository: zestedesavoir/zds-site

Issue:
Suprimmer les « Warning » pour Django 1.9
Les logs via Travis :

```
/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:19: RemovedInDjango19Warning: Model class zds.notification.models.Subscription doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class Subscription(models.Model):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:207: RemovedInDjango19Warning: Model class zds.notification.models.AnswerSubscription doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class AnswerSubscription(Subscription):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:223: RemovedInDjango19Warning: Model class zds.notification.models.TopicAnswerSubscription doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class TopicAnswerSubscription(AnswerSubscription, SingleNotificationMixin):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:235: RemovedInDjango19Warning: Model class zds.notification.models.PrivateTopicAnswerSubscription doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class PrivateTopicAnswerSubscription(AnswerSubscription, SingleNotificationMixin):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:247: RemovedInDjango19Warning: Model class zds.notification.models.ContentReactionAnswerSubscription doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class ContentReactionAnswerSubscription(AnswerSubscription, SingleNotificationMixin):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:259: RemovedInDjango19Warning: Model class zds.notification.models.Notification doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.

  class Notification(models.Model):

/home/travis/build/zestedesavoir/zds-site/zds/notification/models.py:283: RemovedInDjango19Warning: Model class zds.notification.models.TopicFollowed doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
```



Discussion:

Resolving patch:
diff --git a/zds/notification/__init__.py b/zds/notification/__init__.py
--- a/zds/notification/__init__.py
+++ b/zds/notification/__init__.py
@@ -1,3 +0,0 @@
-# flake8: noqa
-
-import receivers
diff --git a/zds/notification/models.py b/zds/notification/models.py
--- a/zds/notification/models.py
+++ b/zds/notification/models.py
@@ -299,3 +299,7 @@ class Meta:
     def __unicode__(self):
         return u'<Sujet "{0}" suivi par {1}>'.format(self.topic.title,
                                                      self.user.username)
+
+# used to fix Django 1.9 Warning
+# https://github.com/zestedesavoir/zds-site/issues/3451
+import receivers  # noqa


Test patch: