Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it would be reasonable to create a utility function in Django that directs a user back to the page they came from. This function could use the referrer HTTP header to determine the page the user came from and redirect them back to that page. This would provide a better user experience and make it easier for users to navigate the site.