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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0d27b43924d41713f57cbf403ee2f420bd02267c756555c1b42e09c05291dcd |
|
MD5 | 2b295e85f912384daeadae6f87e96406 |
|
BLAKE2b-256 | f75886d70c4a6b7784b378932ab6016c16660511df75a81ad5569f577faf58ef |
Hashes for molo.servicedirectory-2.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e1591023c14a1f2f8f56a4259b2ffdd6e84e9c2db15bb60302413b9f34145d |
|
MD5 | ccc52f3296beaedbdff14ae276f0e234 |
|
BLAKE2b-256 | c8dde84a616370a92269592c234c3a8021cc61326faab3609147abcae6d55189 |