[Django]-Error message: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty

3πŸ‘

βœ…

The system environment hides the original secret key of the Django app that you downloaded (Ask the owner of the code for the secret key of it or create your own django app and copy the implementation of the code). The Django secret key cannot be customized. Django generates it automatically.

Refer to question: Effects of changing Django's SECRET_KEY

2πŸ‘

I think you may be using HTTPS. In your browser, try going to http://127.0.0.1:8000 instead https://127.0.0.1:8000.

For HTTPS, you need a certificate.

Leave a comment