title: 'UserCreationForm' object has no attribute 'get_username' django 1.8
body: <p>So I'm a newbie to django, know python enough not to call myself a beginner but I'm by no means a pro. I'm just trying to get user authentication working on a small django app. I'm using the default authentication system <a href="https://docs.djangoproject.com/en/1.8/topics/auth/default/" rel="nofollow">https://docs.djangoproject.com/en/1.8/topics/auth/default/</a> and the built in forms, the login, logout, etc have their own views but the UserCreationForm doesn't have it's own view, so I figured I had to make my own. Not sure what I'm doing wrong. </p>
  
  <p>this is my views.py</p>
  
  <pre><code>  1 from django.shortcuts import render
    2 from django.http import HttpResponse
    3 from django.contrib.auth.forms import UserCreationForm
    4 from django.contrib.auth import login
    5
    6 def home(request):
    7         return HttpResponse("This is a barebones homepage")
    8
    9 def register(request):
   10         registered = False
   11
   12         if request.method == 'POST':
   13                 user_form = UserCreationForm(data=request.POST)
   14
   15                 if user_form.is_valid():
   16                         user = user_form.save()
   17                         username = user_form.get_username()
   18                         password = user_form.clean_password2()
   19                         login(request,user)
   20                 else:
   21                         print user_form.errors
   22         else:
   23                 user_form = UserCreationForm()
   24
   25         return render(request, 'registration/register.html', {'user_form': user_form, 'registered': registered}    )
  ~
  </code></pre>
  
  <p>this is my register.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
          &lt;head&gt;
                  &lt;title&gt;Jet!&lt;/title&gt;
          &lt;/head&gt;
  
          &lt;body&gt;
                  {% if registered %}
                          Jet! says Thank you for registering!
                          &lt;a href='/'&gt;Return to the homepage.&lt;/a&gt;&lt;br /&gt;
                  {% else %}
                  &lt;form method="post" action="/register/"&gt;
                  {% csrf_token %}
                  {{ user_form.as_p }}
                  &lt;input type="submit" name="submit" value="Register" /&gt;
                  &lt;/form&gt;
                  {% endif %}
          &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>