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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f570df07179475186d8eaf2e8aacb54be19eae3e75d9c1b7066a497cbd3c9a80 |
|
MD5 | 3a42add9da24571bcc9c1f0b719cbe30 |
|
BLAKE2b-256 | b727df2f0d53c96da032ae995cbc5c6d5af0bd6be29d67572c47211ac6a6e54e |
Hashes for molo.servicedirectory-6.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38bb47e396433a399a952c3603abfa59f6f2ddaf606c6f0c6d27a95d9d45a238 |
|
MD5 | 466b970a01a5cc48ee6beab037570ed3 |
|
BLAKE2b-256 | 533fbf356a8a2af02b77969c167536b53545dd3e0758476543386b890343e6ee |
Hashes for molo.servicedirectory-6.1.10-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef28fe8a736b811e8f36f177dea102a349405ca04c84cbe6da6fa4c046dc93d2 |
|
MD5 | a096f8262d832eab949e69840fe952d1 |
|
BLAKE2b-256 | 7d45ed1a8fa82bf1b7dfaafbdce1fa26d9c0c403c0fd3bfade20c7008cef1900 |