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-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9179abaa76f7765a74e32fb704cc17eac27b336c6cda77e04b413b7e7a21676a |
|
MD5 | 705de26ccb6e221505cc0cf0fe7dadcd |
|
BLAKE2b-256 | 33796171d23f5c8c5088a633e0da6f27d100f62dfcde5b6b62f6c55eb937f32a |
Hashes for molo.servicedirectory-1.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b71ea591a6c1039518e61c679ad2223b18992112732c1ed1cbf979c83178579f |
|
MD5 | b4d05063845e334bbb3960908868a652 |
|
BLAKE2b-256 | d8a52c9bffc797e453c052bb47f733894e27aceafd116a2a0ff7d0c737e7bc9c |