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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2892e9909a99dab4347d4d146c9f7e087979e1355ec1fcbeac03b091633eb7 |
|
MD5 | 6f96efb7078e3065b97e87703bfc4373 |
|
BLAKE2b-256 | 4fef75d83721fba45c7b958bf187372d86a1ec26b6fc063720bba04fe53795c9 |
Hashes for molo.servicedirectory-6.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cae056c95b83e387a72191ed4892504110d1ed13fa2733d13d683e5028f17b5 |
|
MD5 | b28bae24b61e6a918f12937855567a40 |
|
BLAKE2b-256 | b5bffbce4cfd02be953a32b33b237f887397396b3cfbeff71a978de7c9f95992 |
Hashes for molo.servicedirectory-6.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f9292b9cb0ce7898dc19935bfd3de9b1e1b02934d6fddfab91a9d41a410f27 |
|
MD5 | 831f2622b3dd6d981eef240dd26601b0 |
|
BLAKE2b-256 | f2c6a73ea214b67d31db051656cde4618abee4134c52e073d70f145b65c03b2f |