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.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distributions

molo.servicedirectory-6.1.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

molo.servicedirectory-6.1.0-py2-none-any.whl (19.8 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for molo.servicedirectory-6.1.0.tar.gz
Algorithm Hash digest
SHA256 4b4de9ac302c086f4d7044099104b245068d26ecafe0e947b56eea7cf2c2cf9e
MD5 6a3f6d617a003d45dd5b8fb17dfc55f9
BLAKE2b-256 95eebeb8db4fbdf8c2d971a6c550d2df40c061a662c96041221ee5c0df2a086e

See more details on using hashes here.

Provenance

File details

Details for the file molo.servicedirectory-6.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for molo.servicedirectory-6.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a29d9070e49711c7ba36a80a51e3eb0162ad3d2fa47d3435a879b6c9d61304f
MD5 4d5f81dfa7da681b1dca531dd2238044
BLAKE2b-256 eed365692dbcaf9f5ba6f11b71e2ba2628c272f4bec266c0a111d649d1fe0215

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for molo.servicedirectory-6.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6c149a61a50013008a02fb1e7cf86ee6925e311f178631cf615e36b29e8065fd
MD5 b675d5e32cb49d2b2075ad53decb291c
BLAKE2b-256 688ffe520ecf1248a8e6bc1844fbdc38400213cc10fd0eb86f635b54576aa3b7

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