Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
django secret key export in DO server
I can’t export my django apps secret key using environment variables os.environ.get(‘secret_key’) in production settings file and export secret key on DO server in my project root usind command line. This same file and procedure work fine using heroku config. How do I provide secret key to DO server?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×