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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06845a2c6afcf8ee0f18d47baabd5acbc4881bb011fa5da1055593cd4cd71281 |
|
MD5 | 98c816b9d17fc77e685d95e2735eb8c9 |
|
BLAKE2b-256 | f72952fcecc847760be09c392814143f263e56ac2342143c37d9c1736dface29 |
Hashes for molo.servicedirectory-6.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78afb37b039ddc8159889423ff2ed766bf0087bf5dad9533ef5bc31ca07d09a |
|
MD5 | fa11330cb2f9ac33325a47268e705135 |
|
BLAKE2b-256 | f5c5e33d27415b19c83439b4ffbe62ead0c707a47bb62a014fa0bf29c0e27a52 |
Hashes for molo.servicedirectory-6.1.11-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a99242af690e5a0c1a193b09eb6ec2ae2345d728bd695632045ff644c5b8bb |
|
MD5 | de39f7d8c91595e14eccfee30221aa58 |
|
BLAKE2b-256 | 57d703e7c40f93a2b55e2302ede190cb8a9f43abddac64cc80a92cc8b8f63c1a |