This is the molo.servicedirectory project.
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:
- from secrets import *
- except ImportError:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|molo.servicedirectory-2.2.0-py2-none-any.whl (19.5 kB) Copy SHA256 Checksum SHA256||py2||Wheel||Sep 19, 2017|
|molo.servicedirectory-2.2.0.tar.gz (13.5 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 19, 2017|