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-11.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68aa7bc1f83c07c9c4d26fc0e12d4be64aa13f0ed0a8418c65a67d9eec9a58af |
|
MD5 | 700e5e24506dd8b2d0605fca578a8e43 |
|
BLAKE2b-256 | d75d6f1fde304b484004880c7c11e59919e47dd8cc99850be9be8281835f80ea |
Hashes for molo.servicedirectory-11.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165962ca2a5c24b300052153f9ac211f8b17d4457464908d34d81e3f39ac16f3 |
|
MD5 | 6e40466c628e30b3e3267f9c0b2ed240 |
|
BLAKE2b-256 | cde171add3fafdf73439106ff464112f4c1d21097c3d3cb14395baf63f7ee492 |