title: Django : Invalid password format or unknown hashing algorithm
body: <p>I have problem when I want to use simple CreateView for creating new user. Everything is ok, I can create user, but when I want logging with new created user, I cant do it.</p>
  
  <h2>I got this type of my password in admin:</h2>
  
  <p><strong>Invalid password format or unknown hashing algorithm.</strong></p>
  
  <p>Raw passwords are not stored, so there is no way to see this user's password, but you can change the password using this form.</p>
  
  <p>This is my code:</p>
  
  <p><strong>model.py</strong></p>
  
  <pre><code>from django.db import models
  from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  from django.contrib.auth.models import AbstractUser, UserManager
  
  
      class CustomUser(AbstractUser):
          """app setting of user"""
          url = models.URLField(u'Site URL', max_length=100, null=True, unique=True)
  
      admin.site.register(CustomUser, UserAdmin)
  </code></pre>
  
  <p><strong>urls.py</strong> </p>
  
  <pre><code>from django.conf.urls.defaults import *
  from models import CustomUser
  from django.views.generic import CreateView
  from django.contrib.auth.decorators import login_required
  from django.core.urlresolvers import reverse
  
      urlpatterns = patterns('',
                     url(r'^create_user/$',(CreateView.as_view(model=CustomUser,       get_success_url =lambda: reverse('create_user'),
                                                                               template_name="create_user.html")), name='create_user'),
                     )
  </code></pre>
  
  <p><strong>create_user.html</strong></p>
  
  <pre><code>&lt;div title="Create Form " id="/create_user"&gt;
          &lt;p&gt; &lt;b&gt;Create account:&lt;/b&gt; &lt;/p&gt;            
          {{ form.errors }}
      &lt;form action="" method="post" id="id_create_user" &gt;
          {% csrf_token %}
          {{ form.as_p }}
          &lt;div&gt;
              &lt;input type="submit" value="Create account" style=""&gt;
          &lt;/div&gt;
  
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And after creating user, I have to log in  as admin and change this password, and after that everything will be ok.<img src="https://i.stack.imgur.com/T48qK.png" alt="Example of my problem"></p>
  
  <p>What should I do to solve the problem?</p>
  
  <p>Thank you!</p>