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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995f02a108ed4c23a9ac050dd5b0e81529875369cf8002378a4afe988494e33a |
|
MD5 | d1801943a7db866fa1c1eae2a55ff4d7 |
|
BLAKE2b-256 | 45562f6188c8da7df6f4a327d54b6e246299e3df591f845837f91368ac5f76c4 |
Hashes for molo.servicedirectory-6.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba16db6bc23487171ebf98575f3755061b39fd8c755352b695dfc61249555d1 |
|
MD5 | 6c811f920cc13be92570cda3f3d4f0e7 |
|
BLAKE2b-256 | b9cb0f469c2145dd4b0e0906b40d77c1ce1ded40c410f6fc1a999264e2355f13 |
Hashes for molo.servicedirectory-6.1.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2abfd672fab0323cb1472e631a28130da64c452396c6704917010ef813beed64 |
|
MD5 | 866702e81f35bcbe1c5b0e2a08b9ede8 |
|
BLAKE2b-256 | 58fbd3efa3270714959a58210604e6695c35ebca95e52e2453ac976df3459145 |