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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1a4618f94341ae5bb19aa1414d32401e3c0a74c2c3ff7dd71de68fcca01d23 |
|
MD5 | 4b4de37cbec3cf241b9b6dca2353180e |
|
BLAKE2b-256 | cb1b38adc9af7a3bb49c454e1d5d78cc036c0ef319019d12f0af628d3c9610a4 |
Hashes for molo.servicedirectory-6.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14ec41c891d8a4227cab916eb5afde2099a281fc2da3e3803fe01d7304e8d4f5 |
|
MD5 | df096019a59d9a602bf14dd256acfb43 |
|
BLAKE2b-256 | cc1abc1aab9439a98321f5da83c5633e91b591481cb3a22b6919e124b5479bef |
Hashes for molo.servicedirectory-6.1.12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86d54a87f27aadef1da4debcb8aa1274d2fe294254a1d0f7bc41e4f7ec51b3d |
|
MD5 | 1365cebea7622c1f19cf3b6531c9fd2c |
|
BLAKE2b-256 | 238192d4fc94c1365abf7f32cfd000a6c5720ab562f229a24300aade528457a5 |