title: Django set_password no attribute
body: <p>I'm trying to use the set_password() function but this error</p>
  
  <pre><code>'Member' object has no attribute 'set_password'
  </code></pre>
  
  <p>comes up when I use it. If I take out the set_password() function the password is stored in the database but without being hashed.</p>
  
  <p><strong>view.py</strong> </p>
  
  <pre><code>user = Member(username=u, password=p, email=e, security=s)
  user.set_password(p)
  user.save()
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class Member(models.Model):
      username = models.CharField(max_length=16,primary_key=True)
      password = models.CharField(max_length=16)
      email = models.CharField(max_length=325)
      security = models.CharField(max_length=16)
      profile = models.OneToOneField(Profile, null=True)
      following = models.ManyToManyField("self", symmetrical=False)
      from_member_id = models.CharField(max_length=16)
  
      def __str__(self):
          return self.username
  </code></pre>