Skip to content

Instantly share code, notes, and snippets.

@mhemrg
Created November 2, 2020 15:13
Show Gist options
  • Save mhemrg/c86b586d50879446cd7c28baf7edad92 to your computer and use it in GitHub Desktop.
Save mhemrg/c86b586d50879446cd7c28baf7edad92 to your computer and use it in GitHub Desktop.
Default value for settings in Django
PROJECT_NAME = env('PROJECT_NAME') or 'my-default-value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment