title: Django error: AttributeError at 'Manager' object has no attribute 'create_user'
body: <p><strong>models.py:</strong></p>
  
  <pre><code>    from django.contrib.auth.models import AbstractBaseUser
      from django.contrib.auth.models import PermissionsMixin
      from django.contrib.auth.models import BaseUserManager
  
      class UserManager(BaseUserManager):
          # code
          def create_user(self, uid, pass):
              # code
  
      class user(AbstractBaseUser, PermissionsMixin):
          # code    
          objects = UserManager()    
          # code    
  
      class appUser(user):
      # code    
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>from projectname.app.models import appUser
  
  def index_view(request):
          # code    
          appUser.objects.create_user(uid_variable, pass_variable)
          # code    
  </code></pre>
  
  <p><strong>settings.py</strong></p>
  
  <pre><code>#code
  INSTALLED_APPS = (
      #code
      'projectname.app',
  )
  AUTH_USER_MODEL = 'app.appUser'
  #code
  </code></pre>
  
  <p>When I am trying to call a create-user method in view this exception appears. What am I doing wrong?</p>