python - MultiValueDictKeyError - Passing GET parameter -


i'm using django allauth.

all users should have access url generated dynamically. ex: www.example.com/uuid/

from page should able login soundcloud , should redirected page after connecting.

i using following previous link receiving url in html empty on django.

#html <a href="/accounts/soundcloud/login?process=login?next={{request.path}}" name="next" value="next" class="waves-effect waves-light btn-large" style="margin-bottom: 10px;">download</a>  #adapter.py class accountadapter(defaultaccountadapter):  def get_login_redirect_url(self, request):     #assert request.user.is_authenticated()     #pass     return request.get['next'] 

you have typo in url - should be:

href="/accounts/soundcloud/login?process=login&next={{request.path}}" 

notice & instead of second ?.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -