title: django-social-auth redirect after login
body: <p>After google's login, I want to be redirected to my page. This is what I do </p>
  
  <pre><code>&lt;a id="google-login" href="/login/google/?next=/static/index.html"&gt;Google&lt;/a&gt;
  </code></pre>
  
  <p>But still I get redirected to </p>
  
  <pre><code>/accounts/profile
  </code></pre>
  
  <p>How can I make django socail auth redirect me to the page I need?</p>
  
  <p>This is my django-social-auth configuration:</p>
  
  <pre><code>SOCIAL_AUTH_PIPELINE = (
      'social.pipeline.social_auth.social_details',
      'social.pipeline.social_auth.social_uid',
      'social.pipeline.social_auth.auth_allowed',
      'social.pipeline.social_auth.social_user',
      'social.pipeline.user.get_username',
      'social.pipeline.mail.mail_validation',
      'social.pipeline.user.create_user',
      'social.pipeline.social_auth.associate_user',
      'social.pipeline.social_auth.load_extra_data',
      'social.pipeline.user.user_details'
  )
  </code></pre>
  
  <p>I tried adding at the top:</p>
  
  <pre><code>'myapp.views.redirect_to_such_and_such',
  </code></pre>
  
  <p>Didnt work.</p>
  
  <p>Again, how can I make django socail auth redirect me to the page I need?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Jenia</p>