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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c2f87c6f29b100bdd3b55b74cf7a55cf1b09cf58efc52b4cca88fabd8bd223 |
|
MD5 | a0037575ad77b1595006c81754fcf225 |
|
BLAKE2b-256 | c11081ce840ef855b58cf27478ea347ce43ad5a973d82cda329746a0bf339fda |
Hashes for molo.servicedirectory-6.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a17f22ddad8fe7563d66eff34a2554dfdbe86220ce4543d119fb83bd6d21c7aa |
|
MD5 | 6d4530816f3d69a957d7c6d167917302 |
|
BLAKE2b-256 | 7d2b1b167a01324c537167d1dbf4e971cd8009038d4cc5910526930c5ee8c581 |
Hashes for molo.servicedirectory-6.1.7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbef054df37a7ce831f72a143da0e0f4419e3de841babc49636c511eb9c51e9 |
|
MD5 | e5bfa0be0123e7a15b87c4653df16da9 |
|
BLAKE2b-256 | 1fceee08d97df37e5e86de2c5e4d9cf6f9be8c470c2b85cd83f0b4391408f86a |