[Answer]-?next= in Django templates

1👍

It’s just the default parameter django uses to determine redirect URL after login

https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.views.login

This GET parameter gets passed to the login form as a hidden input called “next” – upon posting the login form, django redirects to the URL provided in the hidden input.

Leave a comment