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-2.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351beb4848d39cefb3fc77708d4f03affad3cb71cd126d275bcdc28910a2c5c7 |
|
MD5 | 4098176cd19345becc19741873bd7e12 |
|
BLAKE2b-256 | 4e290a70665c67ce0151061098000ee71dfe7d2608cd4b063c38f7de7ab2ced9 |
Hashes for molo.servicedirectory-2.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f0a23ed282ea3c8b0ffb8c97a7393b28f24c2a1ad8468c4fd43e486c4f98ea |
|
MD5 | 25711ffaee89c158cf7141a3a9e27092 |
|
BLAKE2b-256 | ce6fd945f412d552e301cc4b626214f39e3b8df5ea8d717770c754909587ba0f |