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-6.1.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f9b727e78c2b76f3779eea21e52a7cd8c39c4c8f00e1c39cf951bb904b9a6f |
|
MD5 | 1f7fb5c44e666714fdee4dff1d39531c |
|
BLAKE2b-256 | 5e15f2a14d7c5eb87ab8a9d51f3368a4e725468f3ff8406a57419b85de7ce70a |
Hashes for molo.servicedirectory-6.1.13-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 611bc49967b6e2b46fe92aa07608dacff913f1bf2023cd1ee90cdba92365b086 |
|
MD5 | dd054d0020c7b13afff63ef27e79f984 |
|
BLAKE2b-256 | 7fe77b5a4fddfb1bf5d65e2447f6f2c732cd6e89c7a1e1a0548247de57482811 |