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.