title: Check for specific email address in form
body: <p>I'm writing an application in django that needs to only allow a form to be submitted if the email address is that of a specified domain. For example is: </p>
  
  <pre><code>test@gmail.com
  </code></pre>
  
  <p>And doesn't allow:</p>
  
  <pre><code>test@hotmail.com 
  </code></pre>
  
  <p>or any other domain. So how can I do this in django to see if the email address belongs to a specified domain? Should I just split the string from the email address field and do a check on the domain or is there a better approach?</p>