title: Redirect User to another url with django-allauth log in signal
body: <p>I am using Django-allauth for my login/signup related stuff, so when a user signs up(first time) into my site, I am redirecting him to <code>/thanks/</code> page by defining below setting in <code>settings.py</code> file </p>
  
  <p>LOGIN_REDIRECT_URL = '/thanks/'</p>
  
  <p>But when the user tried to log in for the next time(if already registered) I should redirect him to <code>'/dashboard/'</code> URL</p>
  
  <p>So tried to alter that with <code>Django-allauth signals</code> like below which is not working at all</p>
  
  <pre><code>@receiver(allauth.account.signals.user_logged_in)
  def registered_user_login(sender, **kwargs):
      instance = User.objects.get_by_natural_key(kwargs['user'])
      print instance.last_login==instance.date_joined,"??????????????????????????????"
      if not instance.last_login==instance.date_joined:
          return HttpResponseRedirect(reverse('dashboard'))
  </code></pre>
  
  <p>So can anyone please let me know how to redirect a user to <code>/dashboard/</code> for the normal login, am I doing anything wrong in the above signal code?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>After some modification according to the below answer by <code>pennersr</code>, my <code>AccountAdapter</code> class looks like below</p>
  
  <pre><code>from allauth.account.adapter import DefaultAccountAdapter
  # from django.contrib.auth.models import User
  
  class AccountAdapter(DefaultAccountAdapter):
  
    def get_login_redirect_url(self, request):
      if request.user.last_login == request.user.date_joined:
          return '/registration/success/'
      else:
          return '/dashboard/'
  </code></pre>
  
  <p>But still, it is redirecting the user to <code>/dashboard/</code>, my logic in determining the first time user is wrong?</p>