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-7.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1808bc08de16dcad8f577c91c8e349c5291daad67c807e9fde3ed6bd75a27201 |
|
MD5 | 60612c3c375d3d18f8b8b9d7b42d174f |
|
BLAKE2b-256 | 8c920cdf391c40b8e0e0dc93bc07ab968d3d1df7b4160156d088338ec838a85c |
Hashes for molo.servicedirectory-7.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88ee14edc3021a9b8c9945a446d0f1b3f7351574274a707482dacc6ca28c4a2 |
|
MD5 | 322ddd7483d4eccd280b5d5f1b5303a6 |
|
BLAKE2b-256 | 638a19ef8a2f81b98d1b4f5ef491927bf8401619b22bdbb74e349f2dda3f74c1 |