title: How can I allow spaces in a Django username?
body: <p>I'm trying to allow spaces in usernames in my Django app.  This is from my form:</p>
  
  <pre><code>class SignUpForm(django.forms.ModelForm):
  ...
      username = django.forms.RegexField(
         regex=r'^[a-zA-Z]{1}[a-zA-Z -]{1,29}$'
  </code></pre>
  
  <p>I want username to start with a letter.  After that I allow letters and spaces and hyphens.  Somehow the form fails validation with "John Smith" and I have no idea why.  Is there a restriction on spaces somewhere else?</p>