Skip to content

Instantly share code, notes, and snippets.

@pranavcode
Created March 30, 2019 17:51
Show Gist options
  • Save pranavcode/a1c04ccaafa1cb4b9d2c6ff647b412b2 to your computer and use it in GitHub Desktop.
Save pranavcode/a1c04ccaafa1cb4b9d2c6ff647b412b2 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Django configuration settings for connecting local MongoDB instance using Djongo
...
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'db',
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment