You're rendering templates and returning the response, but if you want the URL to change, you need to do a redirect.
Right now, you're telling django for button submits, render the portal template and return the html. There's nothing in it about redirecting to another URL -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c2a26a14-5ec4-4905-b8cc-3222948d3f5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.