title: Optional some special characters such as @, - or . in Django URL
body: <p>I want to create a url that allow both user email and username in Django such as:</p>
  
  <pre><code>http://mysite.dev/profile/abc@somedomain.com
  </code></pre>
  
  <p>or</p>
  
  <pre><code>http://mysite.dev/profile/this-is-my-username
  </code></pre>
  
  <p>Both above must be allowed. How can I do it?</p>