Skip to content

Instantly share code, notes, and snippets.

@siumhossain
Created November 25, 2020 16:19
Show Gist options
  • Save siumhossain/7edb45a6de360c869fa75ba911297f53 to your computer and use it in GitHub Desktop.
Save siumhossain/7edb45a6de360c869fa75ba911297f53 to your computer and use it in GitHub Desktop.
Django application secret key modify
with open('/etc/secret_key.txt') as f:
SECRET_KEY = f.read().strip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment