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
File details
Details for the file molo.servicedirectory-7.0.0.tar.gz
.
File metadata
- Download URL: molo.servicedirectory-7.0.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25ba848f6c6216cd83972b875f403fd8e5e2f76f579382a4c8f7a100d431d975 |
|
MD5 | 751f3e630c4f5ca3811357bea2800b14 |
|
BLAKE2b-256 | 14d3b2632f9b444e7d547e80c95062329b156fcbf6660c11b81a2825574d82c5 |
File details
Details for the file molo.servicedirectory-7.0.0-py3-none-any.whl
.
File metadata
- Download URL: molo.servicedirectory-7.0.0-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5192a26ed15a542571d1d7bfd33caf9b5662c2c93d7457bc0a5c0472fc384536 |
|
MD5 | 0734969d1265ee419a516ca3384e0d34 |
|
BLAKE2b-256 | 12b58c23cf169725952fdfbc549f3de9f91e76f310b8cc6625eb3b074fa66eb3 |
File details
Details for the file molo.servicedirectory-7.0.0-py2-none-any.whl
.
File metadata
- Download URL: molo.servicedirectory-7.0.0-py2-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 043fa5546aa66f3770e17a294661916e0d0cba2ca4e5c24e327756807c388ee9 |
|
MD5 | a22e9e494879ceffd6869e0b08f8d724 |
|
BLAKE2b-256 | 0f39886f6cc9ddfefe52e3b676df3af388dc32be059c6ce1863976f665fd7b45 |