title: Django: How to redirect users to pages based on form input?
body: <p>I am creating a webpage that should redirect its users to a subpage, based on their choices in a form with radio buttons. The radio button input should trigger logic calculations. For example:</p>
  
  <p>Form with example user input (Yes/No):
  <hr><i>
  [Question] | [Yes] | [No]<br>
  Question1 | ------ | XXX<br>
  Question2 | ------ | XXX<br>
  Question3 | XXX | ------<br>
  <hr></i></p>
  
  <p>Logic:
  <hr><i>
  If Q1=No, Q2=No and Q3=Yes, then redirect to page W<br>
  If Q1=Yes, Q2=No and Q3=Yes, then redirect to page X<br>
  If Q2=Yes, then redirect to page Y<br>
  Else, then redirect to page Z<br>
  <hr></i></p>
  
  <p>The webpage is part of a project created using Django and Python.</p>
  
  <p>I do not know how to approach this problem, as the form input should be passed to the webserver while maintaining the possibility to perform the logic calculations.</p>
  
  <p>Also, I do not want to store the user input to my database. After a user has been redirected to page W, X, Y or Z, no input should be memorized.</p>
  
  <p>Can you please help me in finding a proper way to post the user form data to the server, perform the logic calculations and using the result to redirect the user to the right page?</p>
  
  <p>Thank you in advance!</p>
  
  <p>--
  Thank you for your reply. I have tried your suggestion, but eventually chose for a workaround where I implemented IF-statements based on the form outcome. The content of the page following on the user input form thus dependent on the answers.</p>