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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b4de9ac302c086f4d7044099104b245068d26ecafe0e947b56eea7cf2c2cf9e |
|
MD5 | 6a3f6d617a003d45dd5b8fb17dfc55f9 |
|
BLAKE2b-256 | 95eebeb8db4fbdf8c2d971a6c550d2df40c061a662c96041221ee5c0df2a086e |
Hashes for molo.servicedirectory-6.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a29d9070e49711c7ba36a80a51e3eb0162ad3d2fa47d3435a879b6c9d61304f |
|
MD5 | 4d5f81dfa7da681b1dca531dd2238044 |
|
BLAKE2b-256 | eed365692dbcaf9f5ba6f11b71e2ba2628c272f4bec266c0a111d649d1fe0215 |
Hashes for molo.servicedirectory-6.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c149a61a50013008a02fb1e7cf86ee6925e311f178631cf615e36b29e8065fd |
|
MD5 | b675d5e32cb49d2b2075ad53decb291c |
|
BLAKE2b-256 | 688ffe520ecf1248a8e6bc1844fbdc38400213cc10fd0eb86f635b54576aa3b7 |