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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0439853d936c4768d98005584e69c12626bd0e2bf6dfa6fb354176e3edcdcd30 |
|
MD5 | 5625c268472fd2f4ce06bb5b9b9fdb8b |
|
BLAKE2b-256 | 6763429dc0afae7c8eb6c68dccab8ceeab8acd7669a7d343dca5cf92d9fcc6a7 |
Hashes for molo.servicedirectory-2.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 726e19f1fd958a4af0b83c4327412a6258ad2018f6e6d4a2dd0c08225b278676 |
|
MD5 | 3728845786b074b0b0182cea1140ff77 |
|
BLAKE2b-256 | e5a29aac839044b8d1fb06d4934e38a0d9f056edc6bdc3fc026501da38aebf4e |