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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32c4831b56f1c243dc3f1227451d1ea7f0122c5aca135316331ae6640e3154b |
|
MD5 | 0c717bf0aab4df45372bbe7c860a2a25 |
|
BLAKE2b-256 | 2f46dec3292c0c433eb95ffaa1dbc8be0d1d517acddae32c8219d68703e18c04 |
Hashes for molo.servicedirectory-6.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36e7469557d23e4c56f9a8b8512ebcd7afbca37e28cdfa1bec37e33c7fd089a |
|
MD5 | 045255266ef3350b56fb6f7252c1bc0c |
|
BLAKE2b-256 | 91c1e28266b7e2286ff00efa8209062f43a157efe73eafd5779e9d7cd5b95a97 |
Hashes for molo.servicedirectory-6.1.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 110b3367ebd3185c42c9582e0606c51f04742d5c6b38829038bfefefd3d0098f |
|
MD5 | bb7effb97cd46c6a9915ff063ca744d3 |
|
BLAKE2b-256 | 800a86e6b04b7014c9b1515a5a5e070d6a45e25c0f8e116059b0ffe7130efee1 |