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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56bc4c0615344cd03efcbb4ba21f2eea2847e15f7b6cb12606fb1ecc78c8ac9d |
|
MD5 | a79e42991b976dfd85008a8330770d34 |
|
BLAKE2b-256 | a26e6802d8dc6c492c7c6fa045598a6e2df7dd6a14bd8b3ba8615a58f9252f8d |
Hashes for molo.servicedirectory-6.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b3468b54fa233c7cfa5e7175d5928aabd706d2d3542e25064effa3ecb08ee4 |
|
MD5 | e70eb7f13e9626fac9a490791a459b2c |
|
BLAKE2b-256 | e45c7edfec91454341e6632a35edf735c1f47e735cbda6900365666a8f927101 |
Hashes for molo.servicedirectory-6.1.9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6b328a8cdb20eae7fd35ce3ab65e51fb5017edb2a87333341fa5e3c71e682fc |
|
MD5 | d0ffbe6d6f65deb5ed1b6a5621945fd1 |
|
BLAKE2b-256 | ef4736b1ade8fe1d2903f1369c0f5a398352fbe8d24021286fc5e80fb27944e6 |