title: Django rest auth user_logged_in signal
body: <p>I have a django rest app using django rest auth.
  I'm trying to log something everytime a user log in using signals.</p>
  
  <p>I've searched on the web on how to use signals and I haven't found any interesting material on how to make it work. I think the problem may be with allauth signals. Is there any problem with the following configuration?</p>
  
  <p><strong>signals.py</strong></p>
  
  <pre><code>import logging
  
  from allauth.account.signals import user_logged_in
  from django.dispatch import receiver
  
  logger = logging.getLogger(__name__)
  
  
  @receiver(user_logged_in)
  def login_logger(request, user, **kwargs):
      logger.info("{} logged in with {}".format(user.email, request))
  </code></pre>
  
  <p><strong>apps.py</strong></p>
  
  <pre><code>from django.apps import AppConfig
  
  
  class UsersConfig(AppConfig):
      name = 'users'
  
      def ready(self):
          import users.signals
  </code></pre>
  
  <p><strong>__init__.py</strong></p>
  
  <pre><code>default_app_config = 'users.apps.UsersConfig'
  </code></pre>