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-6.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e742c468a60bff9630cf31b0b06a93dfe90fa06186f054b558edead12c7447d |
|
MD5 | 67505a96a7fc9fb22612d62c3af308af |
|
BLAKE2b-256 | 8ffd0f04668257ee14d7c89133f0402b62d89e300edc6b192c3990129da00879 |
Hashes for molo.servicedirectory-6.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5df56662ab27738dc89f3e2a3c385da13175dda1863eec963f40e747ce7bc7 |
|
MD5 | 364ec5caef0caa023d369b7e58f95d36 |
|
BLAKE2b-256 | 934cb4ba0531e373833e911d194a03a4f7952ccdb6cb10ee8234fe6eeb2a21fa |
Hashes for molo.servicedirectory-6.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b281c3462809594bbe2605d005d71e41b3ee3a28fff4b8ec4ba5569026d51d80 |
|
MD5 | 39373e5ad5696530264fac9e05e8d198 |
|
BLAKE2b-256 | f1f327623986bece7e6d3d65c4a3a3b2065fc100018c44d644960fa57ecb0f0b |