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

Uploaded Source

Built Distribution

molo.servicedirectory-1.2.0-py2-none-any.whl (16.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for molo.servicedirectory-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4098c178611679d653ea7b1d0a7069f00f7591d5e5e10511598e620f2cf23255
MD5 6cbba10f8b671d083c3588a196c206c3
BLAKE2b-256 1e731b6f161bff691dc48fba92a58c4452258dbe8b4df4994ec32071bb5b9f58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molo.servicedirectory-1.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 d4c5d29783844e91bbaccb4c6691eaec67ae003e87b67030e0c09f3d93ab9fbb
MD5 c405360c127ca5b6fbfeb63ae4b77699
BLAKE2b-256 b98201c101fd6e300bf2bf5b59b3eab3d10300ecd10dff29e9c18c9c82df960c

See more details on using hashes here.

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