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-2.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8cadd640cd1c2b8ed8e6a77d40ebca999e97a8eca5c9decdbce60eb8549310 |
|
MD5 | b195230eb03dd965ad34b5f268fe15bc |
|
BLAKE2b-256 | beeb067af7be3bed4cc9fc7fb39f2b401b28cc2bd04ee04cdfd5ec95b092b238 |
Hashes for molo.servicedirectory-2.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86173a9e2efad2d6a430a1a010a89b920230007bd2cf9fde1cf20684d68d3346 |
|
MD5 | b40fe00e18f0b1c99c843bd98cfbea08 |
|
BLAKE2b-256 | 72176854b41f9f4da6aa25bc79b317b239c21658c4b00c74e346bced26f0975f |