title: Is there a way to encrypt the MySQL password stored in Django?
body: <p>I just started on a Django project and in the <code>settings.py</code> file of the project, the database section looks like this:</p>
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
          'NAME': 'blogengine',                 # Or path to database file if using sqlite3.
          # The following settings are not used with sqlite3:
          'USER': 'blogadmin',
          'PASSWORD': 'blog@123',
          'HOST': 'localhost',                 # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
          'PORT': '3306',                      # Set to empty string for default.
      }
  }
  </code></pre>
  <p>Is there any way in which I don't have to enter the password as plaintext but maybe enter it in some encrypted form?</p>