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-1.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0966bb7c713c4cef376b0ebd4062c7a9f29e78c1b285bd3ce2362f0abdb3ff |
|
MD5 | d1bad80157335fb2e34f8bfdde13ab89 |
|
BLAKE2b-256 | 71777be002679d361496789103fd904ade5e2da48f0e840a57cc970301edfad6 |
Hashes for molo.servicedirectory-1.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f40b877c453526fe0939e262f50890fee80ea2c983a576e6ad188f9f1e254b |
|
MD5 | 90e8639b72d3af3fa30d12f04ebe469d |
|
BLAKE2b-256 | c83e9eca9cb882c7f08e59b1e0e8c3ca8fdd8c25cb9f7361d62142cc95b6ece2 |