Suppose a user is on the page /some_url/ on a site with django-allauth. When clicking \"Login\" they get sent to a URL like:
/accounts/login/?ne
The simplest way would be to override the template account/signup.html with your own copy. If you examine that template you will see the following section:
{% if redirect_field_value %}
{% endif %}
If you remove the if/endif part and change the value inside, the signup page will redirect to a specific page, even if you pass a next argument in the URL: