From 15df486fc8f237ecf80620592060d16e467fe2c7 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 21 Apr 2016 10:18:29 +0200
Subject: [PATCH] [backend,accounts] Move signal registration from backend to
 accounts app where it should be

---
 beat/web/accounts/apps.py | 1 +
 beat/web/backend/apps.py  | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/beat/web/accounts/apps.py b/beat/web/accounts/apps.py
index 4f87ff979..24f79c5be 100644
--- a/beat/web/accounts/apps.py
+++ b/beat/web/accounts/apps.py
@@ -37,3 +37,4 @@ class AccountsConfig(AppConfig):
 
     def ready(self):
         registry.register(User)
+        from .signals import setup_user
diff --git a/beat/web/backend/apps.py b/beat/web/backend/apps.py
index a974899e8..07e67f57e 100644
--- a/beat/web/backend/apps.py
+++ b/beat/web/backend/apps.py
@@ -32,6 +32,3 @@ class BackendConfig(AppConfig):
 
     name = 'beat.web.backend'
     verbose_name = _('Backend')
-
-    def ready(self):
-        from .signals import setup_user
-- 
GitLab