Skip to main content

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

https://img.shields.io/travis/praekelt/molo.servicedirectory.svg https://img.shields.io/pypi/v/molo.servicedirectory.svg Code Coverage molo.servicedirectory Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molo.servicedirectory-6.0.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

molo.servicedirectory-6.0.1-py2-none-any.whl (19.6 kB view details)

Uploaded Python 2

File details

Details for the file molo.servicedirectory-6.0.1.tar.gz.

File metadata

File hashes

Hashes for molo.servicedirectory-6.0.1.tar.gz
Algorithm Hash digest
SHA256 e34edc7a5f1eadf54ce1e7d2e4766a4d008177946fc767293c9680c40b3b06d1
MD5 efc2f7f2c44304cd7a5df796fa3732fa
BLAKE2b-256 796d7b208e65f9bd9426b1b188f8e875602f74533ae0483f4bca5c042b5608f5

See more details on using hashes here.

Provenance

File details

Details for the file molo.servicedirectory-6.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for molo.servicedirectory-6.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5a3e2d4402f6389b4646f2f20cce8de36e833c38483bae039db58d7f610ee19f
MD5 f8b7440949a28bcf45fbb64ef16c6ebb
BLAKE2b-256 2f8866f2e185df1e1876371b8bc5d94978235364253796eb6d658b21097908ff

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page