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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11834cfac36d6bb2d79ae67c3bc87ea90ee3a51af3e75affe9a0dfe41691e8d9 |
|
MD5 | 72bc1ab8eb33e69640566ee436eefba9 |
|
BLAKE2b-256 | 85110530a79dd8ded7064bfc4ae28dec07f00a19c9860d89558e1f820172e480 |
Hashes for molo.servicedirectory-6.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82d5115003cec22d0813a83e04cc89519556a1e752bfa96d5387203e4d918317 |
|
MD5 | 1682cec06fdceec892dd771c961d1f89 |
|
BLAKE2b-256 | b4e7830eb88a087199443e80915e10d35acf7b16b70c98d0492e187c8275d2bf |
Hashes for molo.servicedirectory-6.1.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4da1d00d10bebd0558f1c7672301c68809bb460a9585893a1e134c61538f43 |
|
MD5 | b829befe660b5ed621f1f452d75ca623 |
|
BLAKE2b-256 | 02111f657e4812611c18bb526e4383cfb05e52b64c3bc7c6ee30d9190d2169a9 |