docs
docs copied to clipboard
Redirecting a user after login to the page from where they started
This isn't a documentation-related issue, rather a UX improvement. As I've found out, a Django based CMS is responsible for serving the Developer portal, so if the login button in the base template is presented with:
<a href="{% url 'login' %}" class="login-button">
then it should become:
<a href="{% url 'login' %}?next={% firstof request.path '/' %}" class="login-button">