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-2.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793dc6e9a1e44cd3635aac589ec7426085d903a0a9e52fb59987cae77c37274a |
|
MD5 | fcc726b1feaf9c743afd456fba80c1a5 |
|
BLAKE2b-256 | 85e4ea49acf2715eba16ba7e0964eb08124a964c5267749ddcb9f380130b838d |
Hashes for molo.servicedirectory-2.1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3899c3831f9084f9f3dc593b7931b84523352a63c631a2b31de141456ce3d856 |
|
MD5 | 4d2637f5fc03e92c1c40616fcbba8c29 |
|
BLAKE2b-256 | c24ac425202764c129cb3978918b0233b278baf166de34f5b0e43dc280b841cb |