title: How to quickly encrypt a password string in Django without an User Model?
body: <p>Based on my current Django app settings, is there a function or a snippet that allows me to view the encrypted password, given a raw string? I am testing some functionality and this would be useful for me.</p>
  
  <p>I am looking for something like:</p>
  
  <pre><code>password = encrypt_raw_password("abcdef")
  </code></pre>