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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc9c7526332cd31aa73afe7dedfdea60914b5ae34c301a981e85e51dfd64ad7 |
|
MD5 | e37f91cca4f162ffd6c3f9f187a6260f |
|
BLAKE2b-256 | b196b823c0362c8f50a6c6d27fce5dd3c1313654aeea17a5e8dc46d67732a06c |
Hashes for molo.servicedirectory-6.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eb64087b2554040205d239c0ab0aacab237356dea8db44bde723e618ec3ad14 |
|
MD5 | 0f49c8c1a6f071af890793463784b134 |
|
BLAKE2b-256 | 794e2600863074bc3d3e6fb162f3c29764008d8025ef87ee4f4523849d2b02a9 |
Hashes for molo.servicedirectory-6.1.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1217b14b2945a43e5471d064e3f3907b6831b6ec515db68de905345d050b4c5e |
|
MD5 | ff67d6a3ceadf8e154c196489f093d74 |
|
BLAKE2b-256 | a65da5ed2acdce015c4123be8e047ae56ddf2c9fea2c346ad119a1343c2137ed |