title: How to encrypt a password field in django
body: <p>I have a model with name, code and password. I need to encrypt the password. Also I should'nt show a plain text in the password field. 
  I referred to this link</p>
  
  <p><a href="https://stackoverflow.com/questions/3715103/password-field-in-django-model">Password field in Django model</a></p>
  
  <p>But the answer is old and need to know what the present approach is.</p>
  
  <p>My model is as below</p>
  
  <pre><code>class Crew(models.Model):
      crew_id = models.AutoField(primary_key=True)
      crew_code = models.CharField(max_length=200, null=False, unique=True)
      crew_name = models.CharField(max_length=200, null=False)
      crew_password = models.CharField(max_length=200, null=False)
  </code></pre>