This is the molo.servicedirectory project.
Project description
A molo module for calling service directory.
The following keys should be set in the django projects settings file (the values are only examples):
SERVICE_DIRECTORY_API_BASE_URL = ‘http://0.0.0.0:8000/api/’
SERVICE_DIRECTORY_API_USERNAME = ‘root’ SERVICE_DIRECTORY_API_PASSWORD = ‘admin’
GOOGLE_PLACES_API_SERVER_KEY = ‘thisisnotarealkeyreplaceitwithyourown’
ideally things like the passwords and api keys should be kept out of the repository and possibly included in the settings through importing from a secrets file that is ignored by the version control.
eg in settings.py:
- try:
from secrets import *
- except ImportError:
raise
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for molo.servicedirectory-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4ea721f5e39e00423ab610cb1fdc8f7f126c0ceb29eb8120d92c5e497a3d16 |
|
MD5 | 383c89bb5af549f08fa535b50b0c2e37 |
|
BLAKE2b-256 | 5f9965bdb18d5cbcd1eecdfae98edc9e09707075a9749efe320c495dbac1acf7 |
Hashes for molo.servicedirectory-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158957bb5ba843ed934b7c31c586e2e7b1b6301171e19b5d3cd84f3579193948 |
|
MD5 | 77a51c7328a2afcaa779512e7083d8c7 |
|
BLAKE2b-256 | c92a58daaab97906a51d658f63cfeb3eb15a1c05e1b6bb2fa640cd23a5e41645 |