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 Distributions
Hashes for molo.servicedirectory-7.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63133ece33ab9769f58bf844fe036548fd56154902acb19668c67f5693ba780b |
|
MD5 | 548b60b3fe7610f2747febe5427a37a8 |
|
BLAKE2b-256 | 0033c2bde422f5058763a5d3d1004c1680bf7feb19caf0bccdcddf1010575f14 |
Hashes for molo.servicedirectory-7.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b168845c6bb97fb59c1c359bb3ea51d12957490fd81a9680adff54cf638172f2 |
|
MD5 | a89633202dcda6cac24067e0bfd29536 |
|
BLAKE2b-256 | 53eadfce84a9f2ca4a110ed3b516c0d84b3a92850458edd725bcd35c6d763199 |
Hashes for molo.servicedirectory-7.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9363e6991f12e70ce77cdf45259a7598a5a2c55058c09f1043c192b4d1156924 |
|
MD5 | d1ab74c3edd90bec822e639f76444c26 |
|
BLAKE2b-256 | cdcc7e7d4ea7655e1dc4517faf811c3d951256a166468f7749b6de9d3116e47c |