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-6.0.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f4ab8d510a500999a2411cd22a6b51482b43d4d3e0e980fbd8d06ed217bf52b |
|
MD5 | 5fca40cdb812510bdb5db6fdd622c30d |
|
BLAKE2b-256 | 32febc93d0155abdef55093f1b6bd319d4cd422cbc5283b33b0d5b2a25929fa2 |
Hashes for molo.servicedirectory-6.0.0b1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e557a1f651192b529117d5e4cc09bd7022873fdc4492631b5804c6a7d4025d |
|
MD5 | 2754c0f1c19eaf7069f4b638eda9b498 |
|
BLAKE2b-256 | e9c313aa7e6139d3c844d4f76b5c9f4455b5d90ed2743fc65ad61db2a533a63c |