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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0a1b1df2458bece18bd023842cfbecd24fce51011b4c33d3178d57cf57c74c |
|
MD5 | 3fbd54ec8d465ba8a60181db5acb180b |
|
BLAKE2b-256 | 3ae788b2a2eb70cbbeb0a59996ed39b5720ad91fbc16ac33aa1d505444b3a074 |
Hashes for molo.servicedirectory-1.4.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5971965adfba08f7779e6c3d21894d16622b389926b0e86607320f5d5af43f |
|
MD5 | 85763c47249bb0b924a6dc11548ad791 |
|
BLAKE2b-256 | c278f0bd81d1483e3c0e7074b1bcc28d0957fddc78a162c5a9488902a248de99 |