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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b993598b295d1e559f3a2db706b3cdd76277b3d13c59edc9a7d7ad9b1c17d7a5 |
|
MD5 | ad63c978168f6a7f434152fa18a88188 |
|
BLAKE2b-256 | 8be9688c118fd084fa8acd7797cfb0d97f9a7eeae4af753da4ace83ec53942c7 |
Hashes for molo.servicedirectory-6.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8fa56bf08014ce6b62258383675ab6bbe717be12ca911ab4af869420047c5d0 |
|
MD5 | 48f7bb933b05c9abe3b4741b161afdf5 |
|
BLAKE2b-256 | 66e6411bc888bdc47a41751aa3cc464646207be33cdcd12fd9023bcc76cad404 |
Hashes for molo.servicedirectory-6.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f95ab524790e942861f3523f35142055f114bdcb9ba3de3d467a65f53779038 |
|
MD5 | b4353a088c2670e14fec304578e4a254 |
|
BLAKE2b-256 | a72e29557d77cbbd44342583c6d81db78d7376ac094af9836ff472e000ebd83b |