title: User Registration with error: no such table: auth_user
body: <p>I am trying to use Django's default Auth to handle register and log in.</p>
  <p><code>setting.py</code>:</p>
  <pre><code>INSTALLED_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'books',
  )
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  
  AUTH_USER_MODEL = 'books.User'
  </code></pre>
  <p><code>books.models.py</code>:</p>
  <pre><code>class User(AbstractUser):
      account_balance = models.DecimalField(max_digits=5, decimal_places=2, default=0)
  </code></pre>
  <p><code>views.py</code>:</p>
  <pre><code>from django.contrib.auth.forms import UserCreationForm
  
  def register(request):
      if request.method == 'POST':
          form = UserCreationForm(request.POST)
          if form.is_valid():
              new_user = form.save()
              return HttpResponseRedirect(&quot;/accounts/profile/&quot;)
      else:
          form = UserCreationForm()
      return render(request, &quot;registration/register.html&quot;, {'form': form,})
  </code></pre>
  <p><code>urls.py</code>:</p>
  <pre><code>urlpatterns = patterns('',
      (r'^accounts/login/$', login),
      (r'^accounts/logout/$', logout),
      (r'^accounts/profile/$', profile),
      (r'^accounts/register/$', register),
  )
  </code></pre>
  <p>I tried deleting the <code>db.sqlite3</code> file and re-ran <code>python manage.py syncdb</code> but I still get this error message:</p>
  <pre><code>OperationalError at /accounts/register/
  no such table: auth_user
  Request Method: POST
  Request URL:    http://127.0.0.1:8000/accounts/register/
  Django Version: 1.7b4
  Exception Type: OperationalError
  Exception Value:    
  no such table: auth_user
  </code></pre>